| Modifier and Type | Class and Description |
|---|---|
| public static class | ArchiveAdapter.
Definition of an archive entry |
| public static interface | ArchiveAdapter.
defines the notion of an archive entry task which is a task aimed to be run on particular archive entry. |
| public static interface |
| Modifier and Type | Method and Description |
|---|---|
| public Manifest | |
| public URI | |
| public void | onAllEntries(ArchiveAdapter.
the task to perform task,for any logging activity logger)perform a task on each archive entry |
| public void | onSelectedEntries(ArchiveAdapter.
implementation to select the archive archive entries on
which the task should be performed. selector,the task to perform task,for any logging activity logger)perform a task on selected archive entries |
| getManifest | back to summary |
|---|---|
| public Manifest getManifest() throws IOException Returns the manifest instance for the archive.
| |
| getURI | back to summary |
|---|---|
| public URI getURI() Returns the URI of the archive
| |
| onAllEntries | back to summary |
|---|---|
| public void onAllEntries(ArchiveAdapter. perform a task on each archive entry
| |
| onSelectedEntries | back to summary |
|---|---|
| public void onSelectedEntries(ArchiveAdapter. perform a task on selected archive entries
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| name | back to summary |
|---|---|
| public final String name | |
| size | back to summary |
|---|---|
| public final long size | |
| Entry | back to summary |
|---|---|
| public Entry(String name, long size, boolean isDirectory)
Deprecated Use the other constructor, isDirectory is not used creates a new archive entry
| |
| Entry | back to summary |
|---|---|
| public Entry(String name, long size) creates a new archive entry
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | on(final ArchiveAdapter.
the archive entry information such as its name, size... e,the archive entry content. is)callback to do some processing on an archive entry. |
| on | back to summary |
|---|---|
| public void on(final ArchiveAdapter. callback to do some processing on an archive entry.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the archive entry has been selected for processingthe archive entry information entrycallback to select an archive for processing |
| isSelected | back to summary |
|---|---|
| public boolean isSelected(final ArchiveAdapter. callback to select an archive for processing
| |