I - The ArchiveInputStream type.O - The ArchiveOutputStream type.E - The ArchiveEntry type, must be compatible between the input I and output O stream types.public class ChangeSetPerformer<I extends ArchiveInputStream<E>,O extends ArchiveOutputStream<E>,E extends ArchiveEntry> extends Object
| Constructor and Description |
|---|
ChangeSetPerformer(ChangeSet<E> changeSet)
Constructs a ChangeSetPerformer with the changes from this ChangeSet
|
| Modifier and Type | Method and Description |
|---|---|
ChangeSetResults |
perform(I inputStream,
O outputStream)
Performs all changes collected in this ChangeSet on the input stream and streams the result to the output stream.
|
ChangeSetResults |
perform(ZipFile zipFile,
O outputStream)
Performs all changes collected in this ChangeSet on the ZipFile and streams the result to the output stream.
|
public ChangeSetResults perform(I inputStream, O outputStream) throws IOException
inputStream - the InputStream to perform the changes onoutputStream - the resulting OutputStream with all modificationsIOException - if a read/write error occurspublic ChangeSetResults perform(ZipFile zipFile, O outputStream) throws IOException
zipFile - the ZipFile to perform the changes onoutputStream - the resulting OutputStream with all modificationsIOException - if a read/write error occursCopyright © 2002–2025. All rights reserved.