public interface ISeekableStreamFactory
SeekableStreams based on URLs/paths.
Implementations can be set as the default with SeekableStreamFactory.setInstance(ISeekableStreamFactory)| Modifier and Type | Method and Description |
|---|---|
SeekableStream |
getBufferedStream(SeekableStream stream)
Return a buffered
SeekableStream which wraps the input stream
using the default buffer size |
SeekableStream |
getBufferedStream(SeekableStream stream,
int bufferSize)
Return a buffered
SeekableStream which wraps the input stream |
SeekableStream |
getStreamFor(String path) |
SeekableStream |
getStreamFor(URL url) |
SeekableStream getStreamFor(URL url) throws IOException
IOExceptionSeekableStream getStreamFor(String path) throws IOException
IOExceptionSeekableStream getBufferedStream(SeekableStream stream)
SeekableStream which wraps the input stream
using the default buffer sizestream - SeekableStream getBufferedStream(SeekableStream stream, int bufferSize)
SeekableStream which wraps the input streamstream - bufferSize -