org.unisens
Interface CsvFileFormat

All Superinterfaces:
java.lang.Cloneable, FileFormat

public interface CsvFileFormat
extends FileFormat

CsvFileFormat is used to define that a caracter separeted value representation of Entry data is used as file format.

Author:
Joerg Ottenbacher, Radi Nedkov, Malte Kirst

Method Summary
 java.lang.String getDecimalSeparator()
          Gets the decimal separator character used in the csv format.
 java.lang.String getSeparator()
          Gets the separator character used in the csv format.
 void setDecimalSeparator(java.lang.String decimalSeparator)
          Sets the decimal separator character used in the csv format.
 void setSeparator(java.lang.String separator)
          Sets the separator character used in the csv format.
 
Methods inherited from interface org.unisens.FileFormat
clone, getComment, getFileFormatName, setComment
 

Method Detail

getSeparator

java.lang.String getSeparator()
Gets the separator character used in the csv format. The default separator is ';'.

Returns:
the separator character

setSeparator

void setSeparator(java.lang.String separator)
Sets the separator character used in the csv format. The default separator is ';'.

Parameters:
separator - the separator character

getDecimalSeparator

java.lang.String getDecimalSeparator()
Gets the decimal separator character used in the csv format. The default separator is '.'.

Returns:
the decimal separator character

setDecimalSeparator

void setDecimalSeparator(java.lang.String decimalSeparator)
Sets the decimal separator character used in the csv format. The default separator is '.'.

Parameters:
decimalSeparator - the decimal separator character