E - The ArchiveEntry type.public final class ChangeSet<E extends ArchiveEntry> extends Object
| Constructor and Description |
|---|
ChangeSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E entry,
InputStream input)
Adds a new archive entry to the archive.
|
void |
add(E entry,
InputStream input,
boolean replace)
Adds a new archive entry to the archive.
|
void |
delete(String fileName)
Deletes the file with the file name from the archive.
|
void |
deleteDir(String dirName)
Deletes the directory tree from the archive.
|
public void add(E entry, InputStream input)
entry - the entry to addinput - the data stream to addpublic void add(E entry, InputStream input, boolean replace)
entry - the entry to addinput - the data stream to addreplace - indicates the this change should replace existing entriespublic void delete(String fileName)
fileName - the file name of the file to deletepublic void deleteDir(String dirName)
dirName - the name of the directory tree to deleteCopyright © 2002–2025. All rights reserved.