Properties
Loads library.properties
from the jar.
Attributes
- Source
- Properties.scala
- Graph
-
- Supertypes
- Self type
-
Properties.type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"
This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Compares the given specification version to the major version of the platform.
Compares the given specification version to the major version of the platform.
Value parameters
- version
-
a specification major version number
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Compares the given specification version to the specification version of the platform.
Compares the given specification version to the specification version of the platform.
Value parameters
- version
-
a specification version number (legacy forms acceptable)
Attributes
- Returns
-
true
if the specification version of the current runtime is equal to or higher than the version denoted by the given string. - Throws
-
NumberFormatException if the given string is not a version string
- Example
-
// In this example, the runtime's Java specification is assumed to be at version 8. isJavaAtLeast("1.8") // true isJavaAtLeast("8") // true isJavaAtLeast("9") // false isJavaAtLeast("9.1") // false isJavaAtLeast("1.9") // throws
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Returns true
iff the underlying operating system is a Linux distribution.
Returns true
iff the underlying operating system is a Linux distribution.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Returns true
iff the underlying operating system is a version of Apple Mac OSX.
Returns true
iff the underlying operating system is a version of Apple Mac OSX.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Returns true
iff the underlying operating system is a version of Microsoft Windows.
Returns true
iff the underlying operating system is a version of Microsoft Windows.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
The default end of line character.
The default end of line character.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
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.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
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, see dotty.tools.dotc.config.Properties.versionNumberString
.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
Concrete fields
Scala manifest attributes.
Inherited fields
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
The version of the Scala runtime, if this is a snapshot.
The version of the Scala runtime, if this is a snapshot.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
The name of the properties file
The name of the properties file
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
The version of the Scala runtime, if this is not a snapshot.
The version of the Scala runtime, if this is not a snapshot.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala
The loaded properties
A verbose alternative to versionNumberString.
A verbose alternative to versionNumberString.
Attributes
- Inherited from:
- PropertiesTrait (hidden)
- Source
- Properties.scala