|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An operation that creates an empty subdirectory in a directory.
Method Summary | |
au.com.prunge.jgenfile.Directory |
getSubdirectory()
Returns the newly created subdirectory. |
String |
getSubdirectoryName()
Returns the name of the subdirectory to create. |
void |
run()
Runs this operation. |
Methods inherited from interface au.com.prunge.jgenfile.DirectoryOperation |
getDirectory |
Methods inherited from interface au.com.prunge.jgenfile.ItemOperation |
getItem |
Methods inherited from interface au.com.prunge.jgenfile.Operation |
abort, addOperationHints, getLastRunException, getOperationHint, getOperationHints, hasRun, setOperationHint, setOperationHints |
Method Detail |
public String getSubdirectoryName()
public au.com.prunge.jgenfile.Directory getSubdirectory() 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 JGenFileException, OperationNotSupportedException, ItemNameInUseException
run
in interface Operation
OperationNotSupportedException
- if this operation
is not supported.
ItemNameInUseException
- if an item with the
the specified name already exists.
JGenFileException
- if another error occurs.Operation.abort()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |