public static class InputStreamEntry.CachingStreamEntry extends Object implements InputStreamEntry
InputStreamEntry.CachingStreamEntry, InputStreamEntry.FileStreamEntry, InputStreamEntry.InMemoryEntryEMPTY| Constructor and Description |
|---|
CachingStreamEntry(InputStream original,
boolean autoClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyStream(DataOutput output)
Copy the stream.
|
int |
initialize()
Initialize the input stream entry.
|
public CachingStreamEntry(InputStream original, boolean autoClose)
public int initialize()
throws IOException
InputStreamEntryinitialize in interface InputStreamEntryIOExceptionpublic void copyStream(DataOutput output) throws IOException
InputStreamEntrycopyStream in interface InputStreamEntryoutput - the data outputIOException - for any errorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.