public class StandardFileEnvironment extends java.lang.Object implements IFileEnvironment
Constructor and Description |
---|
StandardFileEnvironment() |
StandardFileEnvironment(java.io.File pBaseDir,
java.io.File pProfileDir) |
StandardFileEnvironment(java.io.File pBaseDir,
java.io.File pProfileDir,
java.io.File pTempDir,
java.io.File pWorkingDir) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getBaseDir()
The platform base directory.
|
java.io.File |
getProfileDir()
Some user specific private directory.
|
java.io.File |
getTempDir()
The directory for temporary files.
|
java.io.File |
getWorkingDir()
The working directory.
|
public StandardFileEnvironment()
public StandardFileEnvironment(java.io.File pBaseDir, java.io.File pProfileDir)
public StandardFileEnvironment(java.io.File pBaseDir, java.io.File pProfileDir, java.io.File pTempDir, java.io.File pWorkingDir)
public java.io.File getBaseDir()
IFileEnvironment
Normally this will be equal to the VM "user.dir" property.
getBaseDir
in interface IFileEnvironment
public java.io.File getProfileDir()
IFileEnvironment
Normally this will be equal to the VM "user.home" property or an application defined subdirectory.
getProfileDir
in interface IFileEnvironment
public java.io.File getTempDir()
IFileEnvironment
Normally this will be equal to the VM "java.io.tmpdir" property.
getTempDir
in interface IFileEnvironment
public java.io.File getWorkingDir()
IFileEnvironment
Normally this will be equal to the VM "user.dir" property.
getWorkingDir
in interface IFileEnvironment