public abstract class AbstractCursorStreamProvider extends Object implements org.mule.runtime.api.streaming.bytes.CursorStreamProvider
CursorStreamProvider implementations.| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
wrappedStream |
| Constructor and Description |
|---|
AbstractCursorStreamProvider(InputStream wrappedStream)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract org.mule.runtime.api.streaming.bytes.CursorStream |
doOpenCursor() |
boolean |
isClosed() |
org.mule.runtime.api.streaming.bytes.CursorStream |
openCursor() |
protected final InputStream wrappedStream
public AbstractCursorStreamProvider(InputStream wrappedStream)
wrappedStream - the original stream to be decoratedpublic final org.mule.runtime.api.streaming.bytes.CursorStream openCursor()
openCursor in interface org.mule.runtime.api.streaming.CursorProvider<org.mule.runtime.api.streaming.bytes.CursorStream>public void close()
close in interface org.mule.runtime.api.streaming.CursorProvider<org.mule.runtime.api.streaming.bytes.CursorStream>public boolean isClosed()
isClosed in interface org.mule.runtime.api.streaming.CursorProvider<org.mule.runtime.api.streaming.bytes.CursorStream>protected abstract org.mule.runtime.api.streaming.bytes.CursorStream doOpenCursor()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.