public interface Stream extends Closeable
SeekableInputStream
along with an associated
StreamDescriptor
. A Stream may be subject to some kind of remoting.
Therefore exceptions may be thrown when accessing its content stream.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the encapsulated input stream.
|
StreamDescriptor |
getDescriptor()
Get the associated
StreamDescriptor . |
com.levigo.jadice.document.io.SeekableInputStream |
getInputStream()
Get the associated
SeekableInputStream . |
com.levigo.jadice.document.io.SeekableInputStream getInputStream() throws IOException
SeekableInputStream
.IOException
StreamDescriptor getDescriptor()
StreamDescriptor
.StreamDescriptor
void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
IOException
Copyright © 2017 levigo holding gmbh. All rights reserved.