public static class Output.SingleOutput.ToStream extends Output.SingleOutput
Output.SingleOutput.ToPath, Output.SingleOutput.ToStreamOutput.ArchiveMultiOutput, Output.FolderMultiOutput, Output.MultiOutput, Output.PathArchiveMultiOutput, Output.PipeArchiveMultiOutput, Output.SingleOutput| Constructor and Description |
|---|
ToStream(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
java.io.OutputStream |
open()
Open the output for writing.
|
void |
validate(java.lang.String kind)
Check any preconditions about the output prior to any work occurring.
|
path, pipeisSamePathpublic void validate(java.lang.String kind)
OutputUsed to check if folder outputs are actually folders, or archives are actually zips, etc.
public java.io.OutputStream open()
Output.SingleOutputopen in class Output.SingleOutput