public static class InputStreamEntry.FileStreamEntry extends FilterInputStream implements InputStreamEntry
InputStreamEntry.CachingStreamEntry, InputStreamEntry.FileStreamEntry, InputStreamEntry.InMemoryEntryinEMPTY| Constructor and Description |
|---|
FileStreamEntry(File file) |
FileStreamEntry(Path file) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStream(DataOutput output)
Copy the stream.
|
int |
initialize()
Initialize the input stream entry.
|
available, close, mark, markSupported, read, read, read, reset, skippublic FileStreamEntry(File file) throws IOException
IOExceptionpublic FileStreamEntry(Path file) throws IOException
IOExceptionpublic int initialize()
throws IOException
InputStreamEntryinitialize in interface InputStreamEntryIOExceptionpublic void copyStream(DataOutput output) throws IOException
InputStreamEntrycopyStream in interface InputStreamEntryoutput - the data outputIOException - for any errorCopyright © 2018 JBoss by Red Hat. All rights reserved.