public class XLSLogger extends AbstractLogger
closed, record, schema
Constructor and Description |
---|
XLSLogger(java.lang.String[] schema)
Istantiates a new logger with a given schema.
|
XLSLogger(java.lang.String[] schema,
java.lang.String filename)
Istantiates a new logger with a given schema.
|
XLSLogger(java.lang.String[] schema,
java.lang.String filename,
int from)
Istantiates a new logger with a given schema.
|
XLSLogger(java.lang.String[] schema,
java.lang.String filename,
java.lang.String template)
Istantiates a new logger with a given schema.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Closes the logger.
|
protected void |
doSave()
Saves cached records on media
|
int |
getLine()
Provides the current recording row
|
jxl.write.WritableWorkbook |
getWorkbook()
Rovides the workbook used for writing the statistics.
|
void |
setLine(int line)
Sets the current recording row at a specified value.
|
protected void |
store()
Stores the current record.
|
close, finalize, get, getFields, getSchema, isRecordComplete, log, put, save
public XLSLogger(java.lang.String[] schema) throws java.io.IOException
schema
- - the field labelsjava.io.IOException
public XLSLogger(java.lang.String[] schema, java.lang.String filename) throws java.io.IOException
schema
- - the field labelsfilename
- - the workbook filenamejava.io.IOException
public XLSLogger(java.lang.String[] schema, java.lang.String filename, int from) throws java.io.IOException
schema
- - the field labelsfilename
- - the workbook filenamefrom
- - the recording initial rowjava.io.IOException
public XLSLogger(java.lang.String[] schema, java.lang.String filename, java.lang.String template) throws java.io.IOException
schema
- - the field labelsfilename
- - the workbook nametemplate
- - the workbook templatejava.io.IOException
public int getLine()
public void setLine(int line)
line
- - the new recording rowpublic jxl.write.WritableWorkbook getWorkbook()
protected void store()
AbstractLogger
store
in class AbstractLogger
protected void doSave()
AbstractLogger
doSave
in class AbstractLogger
protected void doClose()
AbstractLogger
doClose
in class AbstractLogger