au.com.prunge.jgenfile
Interface CanCreateSubdirectoryOperation

All Superinterfaces:
DirectoryOperation, ItemOperation, Operation
All Known Implementing Classes:
ConstantCanCreateSubdirectoryOperation

public interface CanCreateSubdirectoryOperation
extends DirectoryOperation

An operation that tests whether a subdirectory can be created in a directory.

Version:
1.0
Author:
Peter Runge

Method Summary
 boolean canCreateSubdirectory()
          Returns whether a subdirectory in a directory can be created..
 
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, run, setOperationHint, setOperationHints
 

Method Detail

canCreateSubdirectory

public boolean canCreateSubdirectory()
                              throws OperationNotFinishedException,
                                     JGenFileException
Returns whether a subdirectory in a directory can be created..

Returns:
true if a subdirectory can be created, 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.