Interface InputStreamEntry
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
InputStreamEntry.CachingStreamEntry,InputStreamEntry.FileStreamEntry,InputStreamEntry.InMemoryEntry
- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classCache the data on disk.static classstatic classCopy the data in-memory. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyStream(DataOutput output) Copy the stream.intInitialize the input stream entry.
-
Field Details
-
EMPTY
-
-
Method Details
-
initialize
Initialize the input stream entry.- Returns:
- the size of the underlying stream
- Throws:
IOException
-
copyStream
Copy the stream.- Parameters:
output- the data output- Throws:
IOException- for any error
-