public interface DataWriter
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any connections and frees up any system resources/files
|
void |
finishWriting(java.lang.String finishUp)
finishes up the writing, this is not always required but may be depending on the output The purpose is to write out file footers, and get things cleaned
up in general
|
void |
startWriting(java.lang.String startUp)
starts up the writing, this is not always required but may be depending on the output The purpose is to write out file headers, and get things going in
general
|
boolean |
write(RootNode node)
writes the nodes
|
boolean write(@NotNull RootNode node)
node
- The root node to writevoid startWriting(java.lang.String startUp)
startUp
- A startup query to run before writingvoid finishWriting(java.lang.String finishUp)
finishUp
- A closing query to executevoid close()