xsmeral.pipe.context
Interface FSContext

All Known Implementing Classes:
PipeContext

public interface FSContext

A file system context, based on the notion of a single working directory.


Method Summary
 File getFile(String path)
          Returns a file with the specified path.
 String getWorkingDir()
          Returns the working directory
 void setWorkingDir(String path)
          Sets the working directory to the given path (relative or absolute)
 

Method Detail

setWorkingDir

void setWorkingDir(String path)
Sets the working directory to the given path (relative or absolute)


getWorkingDir

String getWorkingDir()
Returns the working directory


getFile

File getFile(String path)
Returns a file with the specified path. If the path is relative, it is resolved against the working directory.