Interface IFileEnvironment
-
- All Known Implementing Classes:
StandardFileEnvironment
public interface IFileEnvironment
An object describing the process / VM file system context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getBaseDir
java.io.File getBaseDir()
The platform base directory.Normally this will be equal to the VM "user.dir" property.
- Returns:
- The platform base directory.
-
getProfileDir
java.io.File getProfileDir()
Some user specific private directory.Normally this will be equal to the VM "user.home" property or an application defined subdirectory.
- Returns:
- Some private directory.
-
getTempDir
java.io.File getTempDir()
The directory for temporary files.Normally this will be equal to the VM "java.io.tmpdir" property.
- Returns:
- The directory for temporary files.
-
getWorkingDir
java.io.File getWorkingDir()
The working directory.Normally this will be equal to the VM "user.dir" property.
- Returns:
- The working directory.
-
-