Loadslibrary.properties from the jar.
This is the default text encoding, overridden (unreliably) withJAVA_OPTS="-Dfile.encoding=Foo"
This is the default text encoding, overridden (unreliably) withJAVA_OPTS="-Dfile.encoding=Foo"
Compares the given specification version to the major version of the platform.
Compares the given specification version to the major version of the platform.
a specification major version number
Compares the given specification version to the specification version of the platform.
Compares the given specification version to the specification version of the platform.
a specification version number (legacy forms acceptable)
true if the specification version of the current runtime is equal to or higher than the version denoted by the given string.
NumberFormatException if the given string is not a version string
// In this example, the runtime's Java specification is assumed to be at version 8.isJavaAtLeast("1.8") // trueisJavaAtLeast("8") // trueisJavaAtLeast("9") // falseisJavaAtLeast("9.1") // falseisJavaAtLeast("1.9") // throwsThe default end of line character.
The default end of line character.
This is the encoding to use reading in source files, overridden with -encoding.
This is the encoding to use reading in source files, overridden with -encoding. Note that it uses "prop" i.e. looks in the scala jar, not the system properties.
The version of the Scala runtime, or the empty string if unknown.
The version of the Scala runtime, or the empty string if unknown.
Note that the version of the Scala library need not correlate with the version of the Scala compiler used to emit either the library or user code.
For example, Scala 3.0 and 3.1 use the Scala 2.13 library, which is reflected in this version string. For the Dotty version, seedotty.tools.dotc.config.Properties.versionNumberString.
Scala manifest attributes.
The version of the Scala runtime, if this is a snapshot.
The version of the Scala runtime, if this is a snapshot.
Returnstrue iff the underlying operating system is a Linux distribution.
Returnstrue iff the underlying operating system is a Linux distribution.
Returnstrue iff the underlying operating system is a version of Apple Mac OSX.
Returnstrue iff the underlying operating system is a version of Apple Mac OSX.
Returnstrue iff the underlying operating system is a version of Microsoft Windows.
Returnstrue iff the underlying operating system is a version of Microsoft Windows.
The name of the properties file
The name of the properties file
The version of the Scala runtime, if this is not a snapshot.
The version of the Scala runtime, if this is not a snapshot.
The loaded properties
A verbose alternative toversionNumberString.
A verbose alternative toversionNumberString.