Class TemplateTool
java.lang.Object
java.util.Observable
com.nomagic.magicreport.engine.Tool
com.nomagic.magicreport.engine.tools.TemplateTool
- All Implemented Interfaces:
ITool,IVariable,Serializable,Cloneable
- Direct Known Subclasses:
TemplateTool
The Tool for getting template information.
- Since:
- Jul 9, 2007
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.nomagic.magicreport.engine.ITool
ITool.HTMLString, ITool.RetainedString, ITool.Void -
Field Summary
FieldsFields inherited from class com.nomagic.magicreport.engine.Tool
context, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()A shortcut for template file name.Get the latest input file while evaluating.Get the folder location of latest input file while evaluating.Get the latest output file while evaluating.Get the folder location of latest output file while evaluating.A short cut for template location.Gets the folder location of the main output file.Gets the folder location of the main template file.getName()Gets the template name.Gets the output file name.Gets the output file name.Gets the output name.Deprecated.Gets the folder location of the output file.Gets the folder location of resources files.Gets the template file name.Gets the folder location of the template file.Methods inherited from class com.nomagic.magicreport.engine.Tool
clone, getContext, getProperties, getProperty, getProperty, notifyObservers, setContext, setPropertiesMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
-
Field Details
-
CONTEXT_NAME
Contains a context name.- See Also:
-
-
Constructor Details
-
TemplateTool
public TemplateTool()
-
-
Method Details
-
getResourcesLocation
Gets the folder location of resources files.- Returns:
- the folder location of the resources files
-
getName
Gets the template name.- Returns:
- the template name.
-
getFile
A shortcut for template file name.- Returns:
- the template file name.
- See Also:
-
getTemplateFile
Gets the template file name.- Returns:
- the template file name.
-
getLocation
A short cut for template location.- Returns:
- the folder location of the template file
- See Also:
-
getTemplateLocation
Gets the folder location of the template file.- Returns:
- the folder location of the template file
-
getMainTemplateLocation
Gets the folder location of the main template file.- Returns:
- the folder location of the template file
-
getOutputFileNoExt
Deprecated.Gets the output name.- Returns:
- the output name.
-
getOutputFileNameNoExt
Gets the output name.- Returns:
- the output name.
-
getOutputFile
Gets the output file name.- Returns:
- the output file name.
-
getOutputFileName
Gets the output file name.- Returns:
- the output file name.
-
getOutputLocation
Gets the folder location of the output file.- Returns:
- the folder location of the output file.
-
getMainOutputLocation
Gets the folder location of the main output file.- Returns:
- the folder location of the output file.
-
getLatestInputFile
Get the latest input file while evaluating.- Returns:
- the latest input file while evaluating
-
getLatestInputLocation
Get the folder location of latest input file while evaluating.- Returns:
- the folder location of latest input file while evaluating.
-
getLatestOutputFile
Get the latest output file while evaluating.- Returns:
- the latest output file while evaluating.
-
getLatestOutputLocation
Get the folder location of latest output file while evaluating.- Returns:
- the folder location of latest output file while evaluating.
-
getOutputFileNameNoExt()