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()
IFileEnvironmentNormally this will be equal to the VM "user.dir" property.
getBaseDir in interface IFileEnvironmentpublic java.io.File getProfileDir()
IFileEnvironmentNormally this will be equal to the VM "user.home" property or an application defined subdirectory.
getProfileDir in interface IFileEnvironmentpublic java.io.File getTempDir()
IFileEnvironmentNormally this will be equal to the VM "java.io.tmpdir" property.
getTempDir in interface IFileEnvironmentpublic java.io.File getWorkingDir()
IFileEnvironmentNormally this will be equal to the VM "user.dir" property.
getWorkingDir in interface IFileEnvironment