public class NinjaStreamWriter
extends java.lang.Object
| Constructor and Description |
|---|
NinjaStreamWriter()
Construct the object, and set the defaults.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginBar(java.util.Date dt)
Begin a bar, for the specified date/time.
|
void |
close()
Close the file.
|
void |
endBar()
End the current bar.
|
int |
getPrecision() |
void |
open(java.lang.String filename,
boolean theHeaders,
CSVFormat theFormat)
Open the file for output.
|
void |
setPercision(int thePrecision)
Set the percision to use.
|
void |
storeColumn(java.lang.String name,
double d)
Store a column.
|
public NinjaStreamWriter()
public final void beginBar(java.util.Date dt)
dt - The date/time where the bar begins.public final void close()
public final void endBar()
public final int getPrecision()
public final void open(java.lang.String filename,
boolean theHeaders,
CSVFormat theFormat)
filename - The filename.theHeaders - True, if headers are present.theFormat - The CSV format.public final void setPercision(int thePrecision)
thePrecision - The percision to use.public final void storeColumn(java.lang.String name,
double d)
name - The name of the column.d - The value to store.