|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A directory is an item that contains other items within it.
Method Summary | |
au.com.prunge.jgenfile.CanCreateFileOperation |
createCanCreateFileOperation()
Creates an operation to test whether an empty file can be created in this directory. |
au.com.prunge.jgenfile.CanCreateLinkOperation |
createCanCreateLinkOperation()
Creates an operation to test whether a link can be created in this directory. |
au.com.prunge.jgenfile.CanCreateSubdirectoryOperation |
createCanCreateSubdirectoryOperation()
Creates an operation to test whether an empty subdirectory can be created in this directory. |
au.com.prunge.jgenfile.CanGetChildOperation |
createCanGetChildOperation(String childName)
Creates an operation that tests whether an item with the specified name exists in this directory. |
au.com.prunge.jgenfile.CanGetChildrenOperation |
createCanGetChildrenOperation()
Creates an operation to test whether the children of this directory can be acquired. |
au.com.prunge.jgenfile.CanGetItemFromRelativeReferenceOperation |
createCanGetItemFromRelativeReferenceOperation(au.com.prunge.jgenfile.RelativeItemReference ref)
Creates an operation that tests whether an item in the file system can be acquired given the specified relative reference using this directory as a starting point for the refence. |
au.com.prunge.jgenfile.CreateFileOperation |
createCreateFileOperation(String name)
Creates an operation to create an empty file in this directory. |
au.com.prunge.jgenfile.CreateLinkOperation |
createCreateLinkOperation(au.com.prunge.jgenfile.Item item)
Creates an operation that will create a link in this directory to the specified item. |
au.com.prunge.jgenfile.CreateSubdirectoryOperation |
createCreateSubdirectoryOperation(String name)
Creates an operation to create an empty subdirectory in this directory. |
au.com.prunge.jgenfile.GetChildOperation |
createGetChildOperation(String childName)
Creates an operation that retrieves the item with the specified name that exists in this directory. |
au.com.prunge.jgenfile.GetChildrenOperation |
createGetChildrenOperation()
Creates an operation to get the children in this directory through a list. |
au.com.prunge.jgenfile.GetItemFromRelativeReferenceOperation |
createGetItemFromRelativeReferenceOperation(au.com.prunge.jgenfile.RelativeItemReference ref)
Creates an operation that gets an item in the file system given a relative reference using this directory as a starting point for the reference. |
Method Detail |
public au.com.prunge.jgenfile.GetChildrenOperation createGetChildrenOperation() throws JGenFileException
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CanGetChildrenOperation createCanGetChildrenOperation() throws JGenFileException
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.GetChildOperation createGetChildOperation(String childName) throws JGenFileException
This operation can be used to test whether a child with a certain name exists in this directory.
childName
- the name of the child to retrieve.
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CanGetChildOperation createCanGetChildOperation(String childName) throws JGenFileException
childName
- the name of the child to find.
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CreateSubdirectoryOperation createCreateSubdirectoryOperation(String name) throws JGenFileException
name
- the name of the new subdirectory.
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CanCreateSubdirectoryOperation createCanCreateSubdirectoryOperation() throws JGenFileException
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CreateFileOperation createCreateFileOperation(String name) throws JGenFileException
name
- the name of the new file.
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CanCreateFileOperation createCanCreateFileOperation() throws JGenFileException
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CreateLinkOperation createCreateLinkOperation(au.com.prunge.jgenfile.Item item) throws JGenFileException
item
- the target of the new link.
JGenFileException
- if the operation could not
be created.public au.com.prunge.jgenfile.CanCreateLinkOperation createCanCreateLinkOperation() throws JGenFileException
JGenFileException
- if the operation could not be
created.public au.com.prunge.jgenfile.GetItemFromRelativeReferenceOperation createGetItemFromRelativeReferenceOperation(au.com.prunge.jgenfile.RelativeItemReference ref) throws JGenFileException, NullPointerException
ref
- a relative reference to the item.
JGenFileException
- if an error occurs creating
the operation.
NullPointerException
- if ref
is null.public au.com.prunge.jgenfile.CanGetItemFromRelativeReferenceOperation createCanGetItemFromRelativeReferenceOperation(au.com.prunge.jgenfile.RelativeItemReference ref) throws JGenFileException, NullPointerException
ref
- a relative reference to the item.
JGenFileException
- if an error occurs creating
the operation.
NullPointerException
- if ref
is null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |