public class HealthWriter
extends java.lang.Object
| Constructor and Description |
|---|
HealthWriter(java.io.OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDateLine(java.lang.String label,
java.util.Date value) |
void |
addDateTimeLine(java.lang.String label,
java.time.OffsetDateTime value) |
void |
addIntLine(java.lang.String label,
int value) |
void |
addStringLine(java.lang.String label,
java.lang.String value) |
void |
close() |
void |
open() |
public void open()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void addStringLine(java.lang.String label,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionpublic void addDateTimeLine(java.lang.String label,
java.time.OffsetDateTime value)
throws java.io.IOException
java.io.IOExceptionpublic void addDateLine(java.lang.String label,
java.util.Date value)
throws java.io.IOException
java.io.IOExceptionpublic void addIntLine(java.lang.String label,
int value)
throws java.io.IOException
java.io.IOExceptionCopyright © 2017 Richard Thurston. All Rights Reserved.