public static class InputStreamEntry.FileStreamEntry extends FilterInputStream implements InputStreamEntry
InputStreamEntry.CachingStreamEntry, InputStreamEntry.FileStreamEntry, InputStreamEntry.InMemoryEntry
in
EMPTY
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, skip
public FileStreamEntry(File file) throws IOException
IOException
public FileStreamEntry(Path file) throws IOException
IOException
public int initialize() throws IOException
InputStreamEntry
initialize
in interface InputStreamEntry
IOException
public void copyStream(DataOutput output) throws IOException
InputStreamEntry
copyStream
in interface InputStreamEntry
output
- the data outputIOException
- for any errorCopyright © 2021 JBoss by Red Hat. All rights reserved.