public static class Output.PathArchiveMultiOutput extends Output.ArchiveMultiOutput
Output.ArchiveMultiOutput, Output.FolderMultiOutput, Output.MultiOutput, Output.PathArchiveMultiOutput, Output.PipeArchiveMultiOutput, Output.SingleOutput| Constructor and Description |
|---|
PathArchiveMultiOutput(ArchiveFormat format,
java.nio.file.Path path) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.OutputStream |
openStream() |
void |
validate(java.lang.String kind)
Check any preconditions about the output prior to any work occurring.
|
close, open, writearchive, archive, detectedArchive, folderisSamePathpublic PathArchiveMultiOutput(ArchiveFormat format, java.nio.file.Path path)
public void validate(java.lang.String kind)
throws IOValidationException
OutputUsed to check if folder outputs are actually folders, or archives are actually zips, etc.
validate in class Outputkind - Descriptive name of the output. I.E patches, outputs, rejects, etc.IOValidationExceptionprotected java.io.OutputStream openStream()
throws java.io.IOException
openStream in class Output.ArchiveMultiOutputjava.io.IOException