org.tridas.io.formats.excelmatrix
Class ExcelMatrixFile

java.lang.Object
  extended by org.tridas.io.formats.excelmatrix.ExcelMatrixFile
All Implemented Interfaces:
IDendroFile

public class ExcelMatrixFile
extends Object
implements IDendroFile


Constructor Summary
ExcelMatrixFile(IMetadataFieldSet argDefaults)
           
 
Method Summary
 IMetadataFieldSet getDefaults()
          Gets the defaults that this file uses to save the file
 String getExtension()
          Gets the extension to use for saving this file.
 org.tridas.interfaces.ITridasSeries[] getSeries()
          Get the series list.
 void saveToDisk(OutputStream os)
          An alternative to the normal saveToString() as this is a binary format
 String[] saveToString()
          Saves the file to strings.
 void setSeriesList(ArrayList<org.tridas.interfaces.ITridasSeries> lst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelMatrixFile

public ExcelMatrixFile(IMetadataFieldSet argDefaults)
Method Detail

setSeriesList

public void setSeriesList(ArrayList<org.tridas.interfaces.ITridasSeries> lst)

getExtension

public String getExtension()
Description copied from interface: IDendroFile
Gets the extension to use for saving this file.

Specified by:
getExtension in interface IDendroFile
Returns:

getSeries

public org.tridas.interfaces.ITridasSeries[] getSeries()
Description copied from interface: IDendroFile
Get the series list.

Specified by:
getSeries in interface IDendroFile
Returns:

saveToString

public String[] saveToString()
Description copied from interface: IDendroFile
Saves the file to strings.

Specified by:
saveToString in interface IDendroFile
Returns:

saveToDisk

public void saveToDisk(OutputStream os)
                throws IOException,
                       jxl.write.WriteException
An alternative to the normal saveToString() as this is a binary format

Parameters:
os -
Throws:
IOException
jxl.write.WriteException

getDefaults

public IMetadataFieldSet getDefaults()
Description copied from interface: IDendroFile
Gets the defaults that this file uses to save the file

Specified by:
getDefaults in interface IDendroFile
Returns:
See Also:
IDendroFile.getDefaults()


Copyright © 2011. All Rights Reserved.