au.com.prunge.jgenfile
Interface CanGetChildOperation
- All Superinterfaces:
- DirectoryOperation, ItemOperation, Operation
- All Known Implementing Classes:
- LocalCanGetChildOperation
- public interface CanGetChildOperation
- extends DirectoryOperation
An operation that tests whether a child of a directory
can be acquired.
- Version:
- 1.0
- Author:
- Peter Runge
Method Summary |
boolean |
canGetChild()
Returns whether the child of the directory can be acquired. |
String |
getItemName()
Returns the name of the item to find. |
canGetChild
public boolean canGetChild()
throws OperationNotFinishedException,
JGenFileException
- Returns whether the child of the directory can be acquired.
- Returns:
- true if the child 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.
getItemName
public String getItemName()
- Returns the name of the item to find.
- Returns:
- the name of the item to find.