|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArchiveAdapter
adapter for reading archive style structure
| Nested Class Summary | |
|---|---|
static class |
ArchiveAdapter.Entry
Definition of an archive entry |
static interface |
ArchiveAdapter.EntryTask
defines the notion of an archive entry task which is a task aimed to be run on particular archive entry. |
static interface |
ArchiveAdapter.Selector
|
| Method Summary | |
|---|---|
Manifest |
getManifest()
Returns the manifest instance for the archive. |
URI |
getURI()
Returns the URI of the archive |
void |
onAllEntries(ArchiveAdapter.EntryTask task,
Logger logger)
perform a task on each archive entry |
void |
onSelectedEntries(ArchiveAdapter.Selector selector,
ArchiveAdapter.EntryTask task,
Logger logger)
perform a task on selected archive entries |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
URI getURI()
Manifest getManifest()
throws IOException
IOException - if the manifest cannot be loaded.
void onAllEntries(ArchiveAdapter.EntryTask task,
Logger logger)
throws IOException
task - the task to performlogger - for any logging activity
IOException - can be generated while reading the archive entries
void onSelectedEntries(ArchiveAdapter.Selector selector,
ArchiveAdapter.EntryTask task,
Logger logger)
throws IOException
selector - implementation to select the archive archive entries on
which the task should be performed.task - the task to performlogger - for any logging activity
IOException - can be generated while reading the archive entries
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||