|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinsensa.inforeader.AbstractInfoReader
insensa.inforeader.CCountValues
public class CCountValues
| Field Summary | |
|---|---|
java.util.Map<java.lang.Float,java.lang.Integer> |
countValues
|
int |
noDataValueCount
|
private int |
numOfCounts
|
private int |
numOfData
|
private java.lang.String |
precisionString
|
private static long |
serialVersionUID
|
private CRasterFileInformation |
templateFile
|
| Fields inherited from class insensa.inforeader.AbstractInfoReader |
|---|
dependencer, processStatus, read, targetFile, workerStatus |
| Constructor Summary | |
|---|---|
CCountValues()
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.Float,java.lang.Integer> |
getCountValues()
|
java.util.List<java.lang.String> |
getDependencies()
Returns a list with names of InfoReaders that have to be executed before this InfoReader can be executed. |
org.jdom.Element |
getInfoElement()
|
java.lang.String |
getInfoName()
|
java.util.Vector<java.util.Vector<java.lang.String>> |
getInfos()
|
int |
getNumOfCounts()
|
int |
getNumOfData()
|
CRasterFileInformation |
getTemplateFile()
|
void |
readInfos(CRasterFileInformation file)
This method will try to receive all informations from dependent InfoReader You can get InfoReader with file.getInfoReader(nameOfInfoReader); |
private void |
readInfosWithoutTemplate(CRasterFileInformation file)
|
private void |
readInfosWithTemplate(CRasterFileInformation file)
|
void |
run()
|
void |
setInfos(org.jdom.Element eInfo)
Restore saved data |
void |
setTemplateFile(CRasterFileInformation templateFile)
|
void |
setUnread()
Set InfoReader to unread to execute it again |
java.lang.String |
toString()
Note Can be used to determine the human readable text for this InfoReader . |
| Methods inherited from class insensa.inforeader.AbstractInfoReader |
|---|
getErrorMassage, getPrecisionString, getTargetFile, getVariableList, isRead, setDependencyChecker, setTargetFile, setVariableList, setWorkerStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private int numOfCounts
public int noDataValueCount
private int numOfData
private CRasterFileInformation templateFile
public java.util.Map<java.lang.Float,java.lang.Integer> countValues
private java.lang.String precisionString
| Constructor Detail |
|---|
public CCountValues()
| Method Detail |
|---|
public java.util.Map<java.lang.Float,java.lang.Integer> getCountValues()
throws java.io.IOException
java.io.IOExceptionpublic java.util.List<java.lang.String> getDependencies()
AbstractInfoReaderAbstractInfoReader should override this
method if dependencies are necessary. Example: List<String> depList = super.getDependencies(); depList.add("countValues");depList.add("equalBreaksValues");return depList;
getDependencies in interface InfoReadergetDependencies in class AbstractInfoReaderAbstractInfoReader.getDependencies()
public org.jdom.Element getInfoElement()
throws java.io.IOException
getInfoElement in interface InfoReadergetInfoElement in class AbstractInfoReaderjava.io.IOExceptionAbstractInfoReader.getInfoElement()public java.lang.String getInfoName()
InfoReader.getInfoName()public java.util.Vector<java.util.Vector<java.lang.String>> getInfos()
InfoReader.getInfos()public int getNumOfCounts()
public int getNumOfData()
public CRasterFileInformation getTemplateFile()
public void readInfos(CRasterFileInformation file)
throws java.io.FileNotFoundException,
java.io.IOException
InfoReader
file - File that holds this InfoReader
java.io.FileNotFoundException
java.io.IOExceptionInfoReader.readInfos(insensa.CRasterFileInformation)
private void readInfosWithoutTemplate(CRasterFileInformation file)
throws java.io.IOException
file -
java.io.IOException
private void readInfosWithTemplate(CRasterFileInformation file)
throws java.io.IOException
file -
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class AbstractInfoReaderAbstractInfoReader.run()
public void setInfos(org.jdom.Element eInfo)
throws java.io.IOException
InfoReader
java.io.IOExceptionInfoReader.setInfos(org.jdom.Element)public void setTemplateFile(CRasterFileInformation templateFile)
templateFile - public void setUnread()
InfoReader
setUnread in interface InfoReadersetUnread in class AbstractInfoReaderAbstractInfoReader.setUnread()public java.lang.String toString()
AbstractInfoReader
toString in class AbstractInfoReaderString that returns
InfoReader.getInfoName() with the fist
letter in upper caseAbstractInfoReader.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||