public final class ChangeSet extends Object
| Constructor and Description |
|---|
ChangeSet()
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(ArchiveEntry
Adds a new archive entry to the archive.
|
void |
add(ArchiveEntry
Adds a new archive entry to the archive.
|
void |
delete(String
Deletes the file with the filename from the archive.
|
void |
deleteDir(String
Deletes the directory tree from the archive.
|
public void delete(Stringfilename)
filename - the filename of the file to delete
public void deleteDir(StringdirName)
dirName - the name of the directory tree to delete
public void add(ArchiveEntrypEntry, InputStream pInput)
pEntry - the entry to add
pInput - the datastream to add
public void add(ArchiveEntrypEntry, InputStream pInput, boolean replace)
pEntry - the entry to add
pInput - the datastream to add
replace - indicates the this change should replace existing entries