public class NoteWriter extends XmlWriter
| Modifier and Type | Field and Description |
|---|---|
private DateFormat |
iso8601Format |
| Constructor and Description |
|---|
NoteWriter(OutputStream out)
Create a NoteWriter that will write to a given OutputStream.
|
NoteWriter(PrintWriter out)
Create a NoteWriter that will write to the given PrintWriter
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(NoteData data)
Write notes to designated output target
|
private void |
writeComment(NoteComment comment) |
private final DateFormat iso8601Format
public NoteWriter(PrintWriter out)
out - PrintWriter to write XML topublic NoteWriter(OutputStream out)
out - OutputStream to write XML topublic void write(NoteData data)
data - Note collection to writeprivate void writeComment(NoteComment comment)