au.com.prunge.jgenfile
Interface CanGetRootsOperation
- All Superinterfaces:
- FileSystemOperation, Operation
- All Known Implementing Classes:
- ConstantCanGetRootsOperation, LocalCanGetRootsOperation
- public interface CanGetRootsOperation
- extends FileSystemOperation
An operation that tests whether the roots of a file system
can be acquired.
- Version:
- 1.0
- Author:
- Peter Runge
Method Summary |
boolean |
canGetRoots()
Returns whether the roots of the file system can be acquired. |
canGetRoots
public boolean canGetRoots()
throws OperationNotFinishedException,
JGenFileException
- Returns whether the roots of the file system can be acquired.
- Returns:
- true if the roots can be acquired, false if not.
- Throws:
OperationNotFinishedException
- if this method
was called and the run() method has not
finished or has not been called.
JGenFileException
- if another error occurs.