|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Synapse
org.joone.io.StreamOutputSynapse
org.joone.io.XLSOutputSynapse
public class XLSOutputSynapse
This class allows data to be read from an Excel XLS formatted file. The class requires the specification of a file name and a worksheet name is optional.
Field Summary | |
---|---|
(package private) static long |
serialVersionUID
The serial version ID for this object. |
Fields inherited from class org.joone.io.StreamOutputSynapse |
---|
fifo, nextPlugIn |
Fields inherited from class org.joone.engine.Synapse |
---|
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, outs, revLock |
Constructor Summary | |
---|---|
XLSOutputSynapse()
The default constructor for this XLSOutputSynapse. |
Method Summary | |
---|---|
java.util.TreeSet |
check()
Checks and returns any problems found with the settings of this synapse. |
void |
flush()
Write any remaining data to the XLS file. |
java.lang.String[] |
getAvailableSheetList()
Obtains a list of available sheet names from the XLS file. |
java.lang.String |
getFileName()
Returns the XLS file name used by this synapse. |
java.lang.String |
getSheetName()
Gets the name of sheet within the XLS file that data should be written to. |
int |
getStartCol(int startCol)
Gets the starting col (0 based) of the XLS sheet. |
int |
getStartRow(int startRow)
Gets the starting row (0 based) of the XLS sheet. |
void |
setFileName(java.lang.String fn)
Sets the XLS file name that this synapse should output data to. |
void |
setSheetName(java.lang.String sheetName)
Sets the sheet name within the XLS file that this synapse should write data to. |
void |
setStartCol(int startCol)
Set the starting col (0 based) of the XLS sheet. |
void |
setStartRow(int startRow)
Set the starting row (0 based) of the XLS sheet. |
void |
write(Pattern pattern)
Writes a Pattern to the XLS file. |
Methods inherited from class org.joone.io.StreamOutputSynapse |
---|
addPlugIn, backward, dataChanged, forward, fwdPut, getFifo, getPlugIn, getSeparator, isBuffered, removeAllPlugIns, revGet, setArrays, setBuffered, setDimensions, setPlugIn, setSeparator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
Constructor Detail |
---|
public XLSOutputSynapse()
Method Detail |
---|
public void flush()
public void write(Pattern pattern)
write
in class StreamOutputSynapse
pattern
- The Pattern to write to the XLS file.public java.lang.String getFileName()
public void setFileName(java.lang.String fn)
fn
- The XLS file name that this synapse should output data to.public void setSheetName(java.lang.String sheetName)
sheetName
- The sheet name within the XLS file that this synapse should write data to.public java.lang.String[] getAvailableSheetList()
public java.lang.String getSheetName()
public java.util.TreeSet check()
check
in interface NeuralElement
check
in class StreamOutputSynapse
InputPaternListener
,
OutputPaternListener
public int getStartRow(int startRow)
public int getStartCol(int startCol)
public void setStartRow(int startRow)
public void setStartCol(int startCol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |