insensa.inforeader
Class CVariableBreaksValues
java.lang.Object
insensa.inforeader.AbstractInfoReader
insensa.inforeader.CVariableBreaksValues
- All Implemented Interfaces:
- BreaksValues, InfoReader, java.io.Serializable, java.lang.Runnable
public class CVariableBreaksValues
- extends AbstractInfoReader
- implements BreaksValues
- See Also:
- Serialized Form
Methods inherited from class insensa.inforeader.AbstractInfoReader |
getErrorMassage, getPrecisionString, getTargetFile, getVariableList, isRead, run, setDependencyChecker, setTargetFile, setVariableList, setWorkerStatus, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
numOfClasses
private int numOfClasses
precisionString
private java.lang.String precisionString
rangeList
private java.util.List<ClassificationRange> rangeList
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
CVariableBreaksValues
public CVariableBreaksValues()
getDependencies
public java.util.List<java.lang.String> getDependencies()
- Description copied from class:
AbstractInfoReader
- Returns a list with names of InfoReaders that have to be executed before
this InfoReader can be executed.
Implementations of class AbstractInfoReader
should override this
method if dependencies are necessary. Example:
List<String> depList = super.getDependencies();
depList.add("countValues");
depList.add("equalBreaksValues");
return depList;
- Specified by:
getDependencies
in interface InfoReader
- Overrides:
getDependencies
in class AbstractInfoReader
- Returns:
- List<String>List with named of InfoReaders(dependencies) for
this InfoReader
- See Also:
AbstractInfoReader.getDependencies()
getInfoElement
public org.jdom.Element getInfoElement()
throws java.io.IOException
- Specified by:
getInfoElement
in interface InfoReader
- Overrides:
getInfoElement
in class AbstractInfoReader
- Returns:
-
- Throws:
java.io.IOException
- See Also:
AbstractInfoReader.getInfoElement()
getInfoName
public java.lang.String getInfoName()
- Specified by:
getInfoName
in interface InfoReader
- Returns:
- The name of this InfoReader
- See Also:
InfoReader.getInfoName()
getInfos
public java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
- Specified by:
getInfos
in interface InfoReader
- Returns:
- Information to Display in Data Table
- See Also:
InfoReader.getInfos()
getNumOfClasses
public int getNumOfClasses()
- Specified by:
getNumOfClasses
in interface BreaksValues
- Returns:
- See Also:
BreaksValues.getNumOfClasses()
getRangeList
public java.util.List<ClassificationRange> getRangeList()
- Specified by:
getRangeList
in interface BreaksValues
- Returns:
- See Also:
BreaksValues.getRangeList()
readInfos
public void readInfos(CRasterFileInformation file)
throws java.io.FileNotFoundException,
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);
- Specified by:
readInfos
in interface InfoReader
- 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
- Description copied from interface:
InfoReader
- Restore saved data
- Specified by:
setInfos
in interface InfoReader
- Throws:
java.io.IOException
- See Also:
InfoReader.setInfos(org.jdom.Element)
setNumOfClasses
public void setNumOfClasses(int numOfClasses)
- Specified by:
setNumOfClasses
in interface BreaksValues
- See Also:
BreaksValues.setNumOfClasses(int)
setRangeList
public void setRangeList(java.util.List<ClassificationRange> rangeList)
- Parameters:
rangeList
-
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()