|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An operation that attempts to get an item given an absolute reference.
Method Summary | |
au.com.prunge.jgenfile.Item |
getItemFromReference()
Returns the item acquired with the reference. |
au.com.prunge.jgenfile.AbsoluteItemReference |
getReference()
Returns the reference of the item. |
void |
run()
Runs this operation. |
Methods inherited from interface au.com.prunge.jgenfile.FileSystemOperation |
getFileSystem |
Methods inherited from interface au.com.prunge.jgenfile.Operation |
abort, addOperationHints, getLastRunException, getOperationHint, getOperationHints, hasRun, setOperationHint, setOperationHints |
Method Detail |
public au.com.prunge.jgenfile.AbsoluteItemReference getReference()
public au.com.prunge.jgenfile.Item getItemFromReference() throws OperationNotFinishedException, JGenFileException
OperationNotFinishedException
- if this method
was called and the run() method has not
finished or has not been called.
JGenFileException
- if another error occurs.public void run() throws ItemNotFoundException, JGenFileException
run
in interface Operation
ItemNotFoundException
- if the item could
not be found from the
reference.
JGenFileException
- if another error occurs.Operation.abort()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |