public static class InputStreamEntry.CachingStreamEntry extends Object implements InputStreamEntry
InputStreamEntry.CachingStreamEntry, InputStreamEntry.FileStreamEntry, InputStreamEntry.InMemoryEntry
EMPTY
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
InputStreamEntry
initialize
in interface InputStreamEntry
IOException
public void copyStream(DataOutput output) throws IOException
InputStreamEntry
copyStream
in interface InputStreamEntry
output
- the data outputIOException
- for any errorpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.