| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(final E
the entry to add entry, final InputStream the data stream to add input)Adds a new archive entry to the archive. |
| public void | add(final E
the entry to add entry, final InputStream the data stream to add input, final boolean indicates the this change should replace existing entries replace)Adds a new archive entry to the archive. |
| private void | addAddition(final Change<E>
the change which should result in an addition addChange)Adds an addition change. |
| private void | addDeletion(final Change<E>
the change which should result in a deletion deleteChange)Adds an delete change. |
| public void | |
| public void | |
| pack-priv Set |
| changes | back to summary |
|---|---|
| private final Set<Change<E>> changes | |
| ChangeSet | back to summary |
|---|---|
| public ChangeSet() | |
| add | back to summary |
|---|---|
| public void add(final E entry, final InputStream input) Adds a new archive entry to the archive.
| |
| add | back to summary |
|---|---|
| public void add(final E entry, final InputStream input, final boolean replace) Adds a new archive entry to the archive. If replace is set to true, this change will replace all other additions done in this ChangeSet and all existing entries in the original stream.
| |
| addAddition | back to summary |
|---|---|
| private void addAddition(final Change<E> addChange) Adds an addition change.
| |
| addDeletion | back to summary |
|---|---|
| private void addDeletion(final Change<E> deleteChange) Adds an delete change.
| |
| delete | back to summary |
|---|---|
| public void delete(final String fileName) Deletes the file with the file name from the archive.
| |
| deleteDir | back to summary |
|---|---|
| public void deleteDir(final String dirName) Deletes the directory tree from the archive.
| |
| getChanges | back to summary |
|---|---|
| pack-priv Set Gets the list of changes as a copy. Changes on this set are not reflected on this ChangeSet and vice versa. | |