Interface IFileEnvironment

All Known Implementing Classes:
StandardFileEnvironment

public interface IFileEnvironment
An object describing the process / VM file system context.
  • Method Details

    • getBaseDir

      File getBaseDir()
      The platform base directory.

      Normally this will be equal to the VM "user.dir" property.

      Returns:
      The platform base directory.
    • getProfileDir

      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

      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

      File getWorkingDir()
      The working directory.

      Normally this will be equal to the VM "user.dir" property.

      Returns:
      The working directory.