Environment
0.40.0
Definitions
def
getArgs
: List[String]
\ Pure
Returns the arguments passed to the program via the command line.
def
getCurrentWorkingDirectory
: Option[String]
\ Pure
Returns the user's current working directory
def
getEnv
: Map[String, String]
\ Pure
Returns an map of the current system environment.
def
getFileSeparator
: String
\ Pure
Returns the file separator
def
getLineSeparator
: String
\ Pure
Returns the system line separator
def
getOsArch
: Option[String]
\ Pure
Returns the operating system architecture
def
getOsName
: Option[String]
\ Pure
Returns the operating system name
def
getOsVersion
: Option[String]
\ Pure
Returns the operating system version
def
getPathSeparator
: String
\ Pure
Returns the path separator
def
getProp
(
name :
String
)
: Option[String]
\ Pure
Returns the system property by name.
def
getTemporaryDirectory
: Option[String]
\ Pure
Returns the default temp file path
def
getUserHomeDirectory
: Option[String]
\ Pure
Returns the user's home directory
def
getUserName
: Option[String]
\ Pure
Returns the user's account name
def
getVar
(
name :
String
)
: Option[String]
\ Pure
Returns the value of the specified environment variable.
def
getVirtualProcessors
: Int32
\ Pure
Returns the number of virtual processors available to the JVM.
The returned value is never less than one.