public abstract class TextBasedDataFormatReader extends Object implements DataFormatReader
| Constructor and Description |
|---|
TextBasedDataFormatReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Reader input,
int readLimit)
Returns true if this reader estimates to be able to consume the input data.
|
protected abstract Pattern |
getInputDetectionPattern() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadInputpublic boolean canRead(Reader input, int readLimit)
DataFormatReaderreadLimit
bytes from the supplied reader.canRead in interface DataFormatReaderinput - reader that can be read from to detect a data formatreadLimit - positive number that poses a restriction on how many characters
an implementation may read. Reading beyond this limit may lead to incomplete
input when the method DataFormatReader.readInput(Reader) is invoked.protected abstract Pattern getInputDetectionPattern()
Copyright © 2014–2020 Camunda Services GmbH. All rights reserved.