insensa.inforeader
Class CPrecisionValues

java.lang.Object
  extended by insensa.inforeader.AbstractInfoReader
      extended by insensa.inforeader.CPrecisionValues
All Implemented Interfaces:
InfoReader, java.io.Serializable, java.lang.Runnable

public class CPrecisionValues
extends AbstractInfoReader

See Also:
Serialized Form

Field Summary
private  char decimalSeparator
           
private  int maxPrecision
           
private  java.lang.String precisionRegex
           
private static long serialVersionUID
           
 
Fields inherited from class insensa.inforeader.AbstractInfoReader
dependencer, processStatus, read, targetFile, workerStatus
 
Constructor Summary
CPrecisionValues()
           
 
Method Summary
 org.jdom.Element getInfoElement()
           
 java.lang.String getInfoName()
           
 java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
           
 int getMaxPrecision()
           
 java.lang.String getPrecisionRegex()
           
private  void readAscii(CRasterFileInformation file)
           
 void readInfos(CRasterFileInformation file)
          This method will try to receive all informations from dependent InfoReader You can get InfoReader with file.getInfoReader(nameOfInfoReader);
 void setInfos(org.jdom.Element eInfo)
          sets the Values by the saved infos.
 void setMaxPrecision(int maxPrecision)
           
 void setUnread()
          Set InfoReader to unread to execute it again
 void setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
          Configure InfoReader
 java.lang.String toString()
          Note
Can be used to determine the human readable text for this InfoReader
.
 
Methods inherited from class insensa.inforeader.AbstractInfoReader
getDependencies, getErrorMassage, getPrecisionString, getTargetFile, getVariableList, isRead, run, setDependencyChecker, setTargetFile, setWorkerStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

decimalSeparator

private char decimalSeparator

maxPrecision

private int maxPrecision

precisionRegex

private java.lang.String precisionRegex
Constructor Detail

CPrecisionValues

public CPrecisionValues()
Method Detail

getInfoElement

public org.jdom.Element getInfoElement()
Specified by:
getInfoElement in interface InfoReader
Overrides:
getInfoElement in class AbstractInfoReader
Returns:
See Also:
AbstractInfoReader.getInfoElement()

getInfoName

public java.lang.String getInfoName()
Returns:
The name of this InfoReader
See Also:
InfoReader.getInfoName()

getInfos

public java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
Returns:
Information to Display in Data Table
See Also:
InfoReader.getInfos()

getMaxPrecision

public int getMaxPrecision()
Returns:

getPrecisionRegex

public java.lang.String getPrecisionRegex()
Returns:

readAscii

private void readAscii(CRasterFileInformation file)
                throws java.io.IOException
Parameters:
file -
Throws:
java.io.IOException

readInfos

public void readInfos(CRasterFileInformation file)
               throws java.io.IOException
Description copied from interface: InfoReader
This method will try to receive all informations from dependent InfoReader You can get InfoReader with file.getInfoReader(nameOfInfoReader);

Parameters:
file - File that holds this InfoReader
Throws:
java.io.FileNotFoundException
java.io.IOException
See Also:
InfoReader.readInfos(insensa.CRasterFileInformation)

setInfos

public void setInfos(org.jdom.Element eInfo)
              throws java.io.IOException
sets the Values by the saved infos.

Parameters:
eInfo -
Throws:
java.io.IOException

setMaxPrecision

public void setMaxPrecision(int maxPrecision)
Parameters:
maxPrecision -

setUnread

public void setUnread()
Description copied from interface: InfoReader
Set InfoReader to unread to execute it again

Specified by:
setUnread in interface InfoReader
Overrides:
setUnread in class AbstractInfoReader
See Also:
AbstractInfoReader.setUnread()

setVariableList

public void setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
Description copied from interface: InfoReader
Configure InfoReader

Specified by:
setVariableList in interface InfoReader
Overrides:
setVariableList in class AbstractInfoReader
Parameters:
varList - the List of Variables to be set
See Also:
AbstractInfoReader.setVariableList(java.util.List)

toString

public java.lang.String toString()
Description copied from class: AbstractInfoReader
Note
Can be used to determine the human readable text for this InfoReader
.

Overrides:
toString in class AbstractInfoReader
Returns:
a String that returns InfoReader.getInfoName() with the fist letter in upper case
See Also:
AbstractInfoReader.toString()