public class AqdefWriter extends Object implements AqdefConstants
AqdefObjectModel to AQDFQ text structure.
You can call #writeTo(Writer) to write DFQ content to a given writer
or #getData() to get DFQ content as a String. DFQ content is created
lazily when one of these methods is called.
LINE_SEPARATOR, MEASURED_VALUES_CHARACTERISTIC_SEPARATOR, MEASURED_VALUES_DATA_SEPARATOR, VALUES_SEPARATOR| Constructor and Description |
|---|
AqdefWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeTo(AqdefObjectModel aqdefObjectModel,
Writer writer)
Creates AQDEF structure and writes it to a given
writer |
String |
writeToString(AqdefObjectModel aqdefObjectModel)
Creates AQDFQ structure and returns it as a String
|
public String writeToString(AqdefObjectModel aqdefObjectModel)
aqdefObjectModel - model to be written, must not be nullnullpublic void writeTo(AqdefObjectModel aqdefObjectModel, Writer writer) throws IOException
writeraqdefObjectModel - model to be written, must not be nullwriter - writer to write model to, must not be nullIOException - thrown when some I/O error occurCopyright © 2019. All rights reserved.