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