public interface DataFormatReader
Spin object from its serialized representation.| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(java.io.Reader reader,
int readLimit)
Returns true if this reader estimates to be able to consume the input data.
|
java.lang.Object |
readInput(java.io.Reader reader)
Read (or parse) a reader into this data format's input structure.
|
boolean canRead(java.io.Reader reader,
int readLimit)
readLimit
bytes from the supplied reader.reader - 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 readInput(Reader) is invoked.java.lang.Object readInput(java.io.Reader reader)
reader - a Reader providing the data sourceSpinDataFormatException - in case the reader cannot read the inputCopyright © 2014–2022 Camunda Services GmbH. All rights reserved.