org.tridas.io.formats.sheffield
Class SheffieldFile

java.lang.Object
  extended by org.tridas.io.formats.sheffield.SheffieldFile
All Implemented Interfaces:
IDendroFile

public class SheffieldFile
extends Object
implements IDendroFile


Constructor Summary
SheffieldFile(TridasToSheffieldDefaults argDefaults)
           
 
Method Summary
static Boolean containsSpecialChars(String str)
          Does this line contain any special chars?
 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.
 String[] saveToString()
          Saves the file to strings.
 void setSeries(org.tridas.interfaces.ITridasSeries ser, org.tridas.schema.TridasValues vals)
          Set the series that this Sheffield file represents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SheffieldFile

public SheffieldFile(TridasToSheffieldDefaults argDefaults)
Method Detail

setSeries

public void setSeries(org.tridas.interfaces.ITridasSeries ser,
                      org.tridas.schema.TridasValues vals)
               throws IncompleteTridasDataException
Set the series that this Sheffield file represents

Parameters:
ser -
Throws:
IncompleteTridasDataException

containsSpecialChars

public static Boolean containsSpecialChars(String str)
Does this line contain any special chars?

Parameters:
str -
Returns:

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:
See Also:
IDendroFile.getExtension()

getSeries

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

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

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()

saveToString

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

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


Copyright © 2011. All Rights Reserved.