| Constructor and Description |
|---|
ChangeSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ArchiveEntry pEntry,
InputStream pInput)
Adds a new archive entry to the archive.
|
void |
add(ArchiveEntry pEntry,
InputStream pInput,
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 ChangeSet()
public 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 deletepublic void add(ArchiveEntry pEntry, InputStream pInput)
pEntry - the entry to addpInput - the datastream to addpublic void add(ArchiveEntry pEntry, InputStream pInput, boolean replace)
pEntry - the entry to addpInput - the datastream to addreplace - indicates the this change should replace existing entriesCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.