WrappedProperties

For placing a wrapper function around property functions. Motivated by places like google app engine throwing exceptions on property lookups.

Companion:
object
class Object
trait Matchable
class Any
object AccessControl.type

Value members

Abstract methods

def wrap[T](body: => T): Option[T]

Concrete methods

override def clearProp(name: String): String
Definition Classes
override def envOrElse(name: String, alt: String): String
Definition Classes
override def envOrNone(name: String): Option[String]
Definition Classes
override def propIsSet(name: String): Boolean
Definition Classes
override def propOrElse(name: String, alt: String): String
Definition Classes
override def setProp(name: String, value: String): String
Definition Classes

Inherited methods

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"

Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait

Some derived values.

Some derived values.

Inherited from:
PropertiesTrait

Various well-known properties.

Various well-known properties.

Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait

The default end of line character.

The default end of line character.

Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
def propIsSetTo(name: String, value: String): Boolean
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait

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.

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.

Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait
Inherited from:
PropertiesTrait

Either the development or release version if known, otherwise the empty string.

Either the development or release version if known, otherwise the empty string.

Inherited from:
PropertiesTrait

Inherited fields

Whether the current version of compiler is experimental

Whether the current version of compiler is experimental

  1. Snapshot, nightly releases and non-bootstrapped compiler are experimental.
  2. Features supported by experimental versions of the compiler:
    • research plugins
Inherited from:
PropertiesTrait
protected val propFilename: String

The name of the properties file

The name of the properties file

Inherited from:
PropertiesTrait
lazy protected val scalaProps: Properties

The loaded properties

The loaded properties

Inherited from:
PropertiesTrait

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

Inherited from:
PropertiesTrait

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

Inherited from:
PropertiesTrait