Environment

Definitions

def getArgs(_unit: Unit): List[String] Source

Returns the arguments passed to the program via the command line.

def getCurrentWorkingDirectory(_unit: Unit): Option[String] Source

Returns the user's current working directory

def getEnv(_unit: Unit): Map[String, String] Source

Returns an map of the current system environment.

def getFileSeparator(_unit: Unit): String Source

Returns the file separator

def getLineSeparator(_unit: Unit): String Source

Returns the system line separator

def getOsArch(_unit: Unit): Option[String] Source

Returns the operating system architecture

def getOsName(_unit: Unit): Option[String] Source

Returns the operating system name

def getOsVersion(_unit: Unit): Option[String] Source

Returns the operating system version

def getPathSeparator(_unit: Unit): String Source

Returns the path separator

def getProp(name: String): Option[String] Source

Returns the system property by name.

def getTemporaryDirectory(_unit: Unit): Option[String] Source

Returns the default temp file path

def getUserHomeDirectory(_unit: Unit): Option[String] Source

Returns the user's home directory

def getUserName(_unit: Unit): Option[String] Source

Returns the user's account name

def getVar(name: String): Option[String] Source

Returns the value of the specified environment variable.

def getVirtualProcessors(_unit: Unit): Int32 Source

Returns the number of virtual processors available to the JVM.

The returned value is never less than one.