|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ooc.LinkedTagInstance softparsmap.Compute
This program is used to compute a task. To get usage of a specific task, type
Compute [property file] [task did]
Constructor Summary | |
Compute()
|
Method Summary | |
abstract void |
computeTask()
Is called by main method to run task. |
java.lang.String |
getArg(int i)
Returns the specified argument. |
java.util.List |
getArgs()
Returns a list with remaining arguments. |
Inparalogous |
getInparalogous()
Returns a singleton instance of Inparalogous definied by
attribute 'inparalogous' which this task can use
regarding inparalogous. |
boolean |
getPrintFamilyInfo()
If this methods returns true, Compute will print
header information and more when executed. |
PropertyFile |
getPropertyFile()
Returns the property file. |
java.io.File |
getTargetFile(java.lang.String templateAttributeName,
java.lang.Integer familyNumber)
Returns a file given the family number and the template attribute name. |
TreeParser |
getTreeParser(java.lang.String attributeName)
Returns a parser defined by attribute 'attributeName'. |
boolean |
initiateDataSource()
Returns true if the data source should be initiated. |
static void |
main(java.lang.String[] args)
The main method called to do a task. |
int |
numberArgs()
Returns the number of remaining arguments. |
void |
setArgs(java.util.List args)
|
boolean |
useProgressIndicator()
Returns true if the task is using a dotted progress indicator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Compute()
Method Detail |
public PropertyFile getPropertyFile()
PropertyFile
public java.util.List getArgs()
public void setArgs(java.util.List args)
public int numberArgs()
public java.lang.String getArg(int i)
public boolean getPrintFamilyInfo()
Compute
will print
header information and more when executed.
public boolean initiateDataSource()
public abstract void computeTask()
public java.io.File getTargetFile(java.lang.String templateAttributeName, java.lang.Integer familyNumber)
public Inparalogous getInparalogous()
Inparalogous
definied by
attribute 'inparalogous' which this task can use
regarding inparalogous.
Inparalogous
public TreeParser getTreeParser(java.lang.String attributeName)
attributeName
- is the name of the attribute that contain
the parser didTreeParser
public boolean useProgressIndicator()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |