| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | Change.ChangeType
Enumerates types of changes. |
| Modifier and Type | Field and Description |
|---|---|
| private final E | entry
New entry to add. |
| private final InputStream | inputStream
Source for new entry. |
| private final boolean | replaceMode
Change should replaceMode existing entries. |
| private final String | targetFileName
Entry name to delete. |
| private final Change. | type
Type of change. |
| Access | Constructor and Description |
|---|---|
| pack-priv | Change(final E
the entry details archiveEntry, final InputStream the InputStream for the entry data inputStream, final boolean replace)Constructs a change which adds an entry. |
| pack-priv | Change(final String
the file name of the file to delete fileName, final Change.Constructs a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv E | |
| pack-priv InputStream | |
| pack-priv String | |
| pack-priv Change. | |
| pack-priv boolean |
| entry | back to summary |
|---|---|
| private final E entry New entry to add. | |
| inputStream | back to summary |
|---|---|
| private final InputStream inputStream Source for new entry. | |
| replaceMode | back to summary |
|---|---|
| private final boolean replaceMode Change should replaceMode existing entries. | |
| targetFileName | back to summary |
|---|---|
| private final String targetFileName Entry name to delete. | |
| type | back to summary |
|---|---|
| private final Change. Type of change. | |
| Change | back to summary |
|---|---|
| pack-priv Change(final E archiveEntry, final InputStream inputStream, final boolean replace) Constructs a change which adds an entry.
| |
| Change | back to summary |
|---|---|
| pack-priv Change(final String fileName, final Change. Constructs a new instance. Takes the file name of the file to be deleted from the stream as argument.
| |
| getEntry | back to summary |
|---|---|
| pack-priv E getEntry() | |
| getInputStream | back to summary |
|---|---|
| pack-priv InputStream getInputStream() | |
| getTargetFileName | back to summary |
|---|---|
| pack-priv String getTargetFileName() | |
| getType | back to summary |
|---|---|
| pack-priv Change. | |
| isReplaceMode | back to summary |
|---|---|
| pack-priv boolean isReplaceMode() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Change. | ADD
Add. |
| public static final Change. | DELETE
Delete. |
| public static final Change. | DELETE_DIR
Delete directory. |
| public static final Change. | MOVE
Not used. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Change. | |
| public static Change. |
| ADD | back to summary |
|---|---|
| public static final Change. Add. | |
| DELETE | back to summary |
|---|---|
| public static final Change. Delete. | |
| DELETE_DIR | back to summary |
|---|---|
| public static final Change. Delete directory. | |
| MOVE | back to summary |
|---|---|
| public static final Change. Not used. | |
| ChangeType | back to summary |
|---|---|
| private ChangeType() | |
| valueOf | back to summary |
|---|---|
| public static Change. | |
| values | back to summary |
|---|---|
| public static Change. | |