|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object insensa.inforeader.AbstractInfoReader
public abstract class AbstractInfoReader
Field Summary | |
---|---|
protected DependencyChecker |
dependencer
|
private java.lang.String |
errorMassage
|
protected float |
processStatus
|
protected boolean |
read
|
private static long |
serialVersionUID
|
protected CRasterFileInformation |
targetFile
|
protected WorkerStatus |
workerStatus
|
Constructor Summary | |
---|---|
AbstractInfoReader()
|
Method Summary | |
---|---|
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. |
java.lang.String |
getErrorMassage()
|
org.jdom.Element |
getInfoElement()
|
protected java.lang.String |
getPrecisionString(java.lang.String floatString)
|
CRasterFileInformation |
getTargetFile()
Returns the file of type CRasterFileInformation that
holds this InfoReader targetFile will only be set if the InfoReader
operation was performed, otherwise null |
java.util.List<VariableValue<java.lang.String>> |
getVariableList()
|
boolean |
isRead()
|
void |
run()
|
void |
setDependencyChecker(DependencyChecker mDep)
Set dependency checker |
void |
setTargetFile(CRasterFileInformation targetFile)
determines the target file for this InfoReader. |
void |
setUnread()
Set InfoReader to unread to execute it again |
void |
setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
Configure InfoReader |
void |
setWorkerStatus(WorkerStatus mWorkerStatus)
Determines a WorkerStatus to listen to execution progress |
java.lang.String |
toString()
Note Can be used to determine the human readable text for this InfoReader . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface insensa.inforeader.InfoReader |
---|
getInfoName, getInfos, readInfos, setInfos |
Field Detail |
---|
private static final long serialVersionUID
protected boolean read
protected WorkerStatus workerStatus
protected CRasterFileInformation targetFile
protected float processStatus
protected DependencyChecker dependencer
private java.lang.String errorMassage
Constructor Detail |
---|
public AbstractInfoReader()
Method Detail |
---|
public java.util.List<java.lang.String> getDependencies()
AbstractInfoReader
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 InfoReader
insensa.inforeader.EInfo}
{@link insensa.extensions.ExtensionManager#getInfoReaderServices()}
public java.lang.String getErrorMassage()
getErrorMassage
in interface InfoReader
InfoReader.getErrorMassage()
public org.jdom.Element getInfoElement() throws java.io.IOException
getInfoElement
in interface InfoReader
java.io.IOException
InfoReader.getInfoElement()
protected java.lang.String getPrecisionString(java.lang.String floatString)
floatString
-
public CRasterFileInformation getTargetFile()
InfoReader
CRasterFileInformation
that
holds this InfoReader targetFile will only be set if the InfoReader
operation was performed, otherwise null
getTargetFile
in interface InfoReader
InfoReader.getTargetFile()
public java.util.List<VariableValue<java.lang.String>> getVariableList()
getVariableList
in interface InfoReader
InfoReader.getVariableList()
public boolean isRead()
isRead
in interface InfoReader
InfoReader.isRead()
public void run()
run
in interface java.lang.Runnable
Runnable.run()
public void setDependencyChecker(DependencyChecker mDep)
InfoReader
setDependencyChecker
in interface InfoReader
InfoReader.setDependencyChecker(insensa.helpers.DependencyChecker)
public void setTargetFile(CRasterFileInformation targetFile)
InfoReader
setTargetFile
in interface InfoReader
targetFile
- Target file of type CRasterFileInformation
for
this InfoReaderInfoReader.setTargetFile(insensa.CRasterFileInformation)
public void setUnread()
InfoReader
setUnread
in interface InfoReader
InfoReader.setUnread()
public void setVariableList(java.util.List<VariableValue<java.lang.String>> varList)
InfoReader
setVariableList
in interface InfoReader
varList
- the List of Variables to be setInfoReader.setVariableList(java.util.List)
public void setWorkerStatus(WorkerStatus mWorkerStatus)
InfoReader
WorkerStatus
to listen to execution progress
setWorkerStatus
in interface InfoReader
InfoReader.setWorkerStatus(insensa.WorkerStatus)
public java.lang.String toString()
toString
in class java.lang.Object
String
that returns
InfoReader.getInfoName()
with the fist
letter in upper case
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |