All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.archiveaccessor.filestore.PackagedFileBucketAccessor
java.lang.Object
|
+----com.ibm.archiveaccessor.filestore.FileBucketAccessor
|
+----com.ibm.archiveaccessor.filestore.PackagedFileBucketAccessor
- public abstract class PackagedFileBucketAccessor
- extends FileBucketAccessor
The PackagedFileBucketAccessor is the generic class that introduces
functionality of a bean to access to a packaged bucket of files.
-
PackagedFileBucketAccessor()
- Constructor.
-
add()
- Adds files to a packaged file bucket
-
extract()
- Extracts files from a packaged file bucket
-
extract(String)
- Extract a file from a packaged file bucket
-
getDefaultDirectory()
- Gets the default directory.
-
setDefaultDirectory(String)
- Sets the default directory.
PackagedFileBucketAccessor
public PackagedFileBucketAccessor()
- Constructor.
add
public abstract void add() throws FileBucketAccessorException
- Adds files to a packaged file bucket
- Throws: FileBucketAccessorException
- may be thrown
extract
public abstract void extract() throws FileBucketAccessorException
- Extracts files from a packaged file bucket
- Throws: FileBucketAccessorException
- may be thrown
extract
public abstract void extract(String aFileName) throws FileBucketAccessorException
- Extract a file from a packaged file bucket
- Throws: FileBucketAccessorException
- may be thrown
setDefaultDirectory
public void setDefaultDirectory(String aDirectory) throws IllegalArgumentException
- Sets the default directory.
Fires property change event if the default directory is actually
changing.
- Parameters:
- aDirectory - the new setting of the default directory.
- Throws: IllegalArgumentException
- may be thrown when the
specified directory is null.
getDefaultDirectory
public String getDefaultDirectory()
- Gets the default directory.
- Returns:
- the default directory.
All Packages Class Hierarchy This Package Previous Next Index