Class StandardFileEnvironment
java.lang.Object
de.intarsys.tools.environment.file.StandardFileEnvironment
- All Implemented Interfaces:
IFileEnvironment
-
Constructor Summary
ConstructorsConstructorDescriptionStandardFileEnvironment
(File pBaseDir, File pProfileDir) StandardFileEnvironment
(File pBaseDir, File pProfileDir, File pTempDir, File pWorkingDir) -
Method Summary
Modifier and TypeMethodDescriptionThe platform base directory.Some user specific private directory.The directory for temporary files.The working directory.
-
Constructor Details
-
StandardFileEnvironment
public StandardFileEnvironment() -
StandardFileEnvironment
-
StandardFileEnvironment
-
-
Method Details
-
getBaseDir
Description copied from interface:IFileEnvironment
The platform base directory.Normally this will be equal to the VM "user.dir" property.
- Specified by:
getBaseDir
in interfaceIFileEnvironment
- Returns:
- The platform base directory.
-
getProfileDir
Description copied from interface:IFileEnvironment
Some user specific private directory.Normally this will be equal to the VM "user.home" property or an application defined subdirectory.
- Specified by:
getProfileDir
in interfaceIFileEnvironment
- Returns:
- Some private directory.
-
getTempDir
Description copied from interface:IFileEnvironment
The directory for temporary files.Normally this will be equal to the VM "java.io.tmpdir" property.
- Specified by:
getTempDir
in interfaceIFileEnvironment
- Returns:
- The directory for temporary files.
-
getWorkingDir
Description copied from interface:IFileEnvironment
The working directory.Normally this will be equal to the VM "user.dir" property.
- Specified by:
getWorkingDir
in interfaceIFileEnvironment
- Returns:
- The working directory.
-