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 filename from the archive.
|
void |
deleteDir(String dirName)
Deletes the directory tree from the archive.
|
public ChangeSet()
public void delete(String filename)
filename
- the filename 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 © 2016 The Apache Software Foundation. All rights reserved.