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.


Constructor Index

 o PackagedFileBucketAccessor()
Constructor.

Method Index

 o add()
Adds files to a packaged file bucket
 o extract()
Extracts files from a packaged file bucket
 o extract(String)
Extract a file from a packaged file bucket
 o getDefaultDirectory()
Gets the default directory.
 o setDefaultDirectory(String)
Sets the default directory.

Constructors

 o PackagedFileBucketAccessor
 public PackagedFileBucketAccessor()
Constructor.

Methods

 o add
 public abstract void add() throws FileBucketAccessorException
Adds files to a packaged file bucket

Throws: FileBucketAccessorException
may be thrown
 o extract
 public abstract void extract() throws FileBucketAccessorException
Extracts files from a packaged file bucket

Throws: FileBucketAccessorException
may be thrown
 o extract
 public abstract void extract(String aFileName) throws FileBucketAccessorException
Extract a file from a packaged file bucket

Throws: FileBucketAccessorException
may be thrown
 o 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.
 o getDefaultDirectory
 public String getDefaultDirectory()
Gets the default directory.

Returns:
the default directory.

All Packages  Class Hierarchy  This Package  Previous  Next  Index