intarsys runtime library

de.intarsys.tools.environment.file
Interface IFileEnvironment

All Known Implementing Classes:
StandardFileEnvironment

public interface IFileEnvironment

An object describing the process / VM file system context.


Method Summary
 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.
 

Method Detail

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.

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.