public abstract static class Output.SingleOutput extends Output
| Modifier and Type | Class and Description |
|---|---|
static class |
Output.SingleOutput.ToPath |
static class |
Output.SingleOutput.ToStream |
Output.ArchiveMultiOutput, Output.FolderMultiOutput, Output.MultiOutput, Output.PathArchiveMultiOutput, Output.PipeArchiveMultiOutput, Output.SingleOutput| Constructor and Description |
|---|
SingleOutput() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.io.OutputStream |
open()
Open the output for writing.
|
static Output.SingleOutput |
path(java.nio.file.Path path,
java.nio.file.OpenOption... opts)
Single file output, for a
Path. |
static Output.SingleOutput |
pipe(java.io.OutputStream out)
Single file output, for an existing
OutputStream such as stdout. |
isSamePath, validatepublic static Output.SingleOutput pipe(java.io.OutputStream out)
OutputStream such as stdout.out - The stream.public static Output.SingleOutput path(java.nio.file.Path path, java.nio.file.OpenOption... opts)
Path.path - The path.opts - Any open options for the path.public abstract java.io.OutputStream open()
throws java.io.IOException
java.io.IOException