public final class TransformerInput extends BufferedInput
| Modifier and Type | Class and Description |
|---|---|
class |
TransformerInput.TransformerCompletionHandler |
class |
TransformerInput.TransformerCondition |
| Modifier and Type | Field and Description |
|---|---|
protected AttributeStorage |
attributeStorage |
protected MemoryManager |
memoryManager |
protected Transformer<Buffer,Buffer> |
transformer |
protected Input |
underlyingInput |
completionHandler, compositeBuffer, condition, future, isCompletionHandlerRegistered, lock, registrationStackTrace| Constructor and Description |
|---|
TransformerInput(Transformer<Buffer,Buffer> transformer,
Input underlyingInput,
Connection connection) |
TransformerInput(Transformer<Buffer,Buffer> transformer,
Input underlyingInput,
MemoryManager memoryManager,
AttributeStorage attributeStorage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onCloseInputSource() |
protected void |
onOpenInputSource() |
append, close, getBuffer, isBuffered, notifyCompleted, notifyCondition, notifyFailure, prepend, read, size, skip, takeBufferprotected final Transformer<Buffer,Buffer> transformer
protected final Input underlyingInput
protected final MemoryManager memoryManager
protected final AttributeStorage attributeStorage
public TransformerInput(Transformer<Buffer,Buffer> transformer, Input underlyingInput, Connection connection)
public TransformerInput(Transformer<Buffer,Buffer> transformer, Input underlyingInput, MemoryManager memoryManager, AttributeStorage attributeStorage)
protected void onOpenInputSource()
throws IOException
onOpenInputSource in class BufferedInputIOExceptionprotected void onCloseInputSource()
throws IOException
onCloseInputSource in class BufferedInputIOExceptionCopyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.