public static class OutputPath.PipePath extends OutputPath
OutputPath.FilePath, OutputPath.PipePath| Constructor and Description |
|---|
PipePath(java.io.OutputStream pipe,
ArchiveFormat format) |
| Modifier and Type | Method and Description |
|---|---|
ArchiveFormat |
getFormat() |
java.lang.String |
getName()
Gets the name for this output.
|
boolean |
isFile()
Gets if this output should be treated as a singular file,
opposed to a folder.
|
java.io.OutputStream |
open()
Creates a stream representing this output.
|
java.nio.file.Path |
toPath()
Gets the underlying path representing this output.
|
getTypepublic PipePath(java.io.OutputStream pipe,
ArchiveFormat format)
public java.io.OutputStream open()
OutputPathopen in class OutputPathpublic ArchiveFormat getFormat()
getFormat in class OutputPathpublic boolean isFile()
OutputPathAlways true for PipePath outputs.
isFile in class OutputPathpublic java.nio.file.Path toPath()
OutputPathPathType.PIPEtoPath in class OutputPathpublic java.lang.String getName()
OutputPathPathType.PIPEgetName in class OutputPath