public class SerializedOperationEmitter extends AbstractOperationEmitter
AbstractOperations in their serialized form when given a ReadLineCapable type.| Constructor and Description |
|---|
SerializedOperationEmitter(Direction direction,
File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<String> |
tryEmit()
Tries to parse an operation in the reading directions and emits it,
if parsing has been successful.
|
close, getOffsetpublic com.google.common.base.Optional<String> tryEmit() throws IOException
IOException - in case reading from the ReadLineCapable failsCopyright © 2017. All rights reserved.