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

@OpenApiAll public class TemplateTool extends Tool
The Tool for getting template information.
Since:
Jul 9, 2007
See Also:
  • Field Details

  • Constructor Details

    • TemplateTool

      public TemplateTool()
  • Method Details

    • getResourcesLocation

      public String getResourcesLocation()
      Gets the folder location of resources files.
      Returns:
      the folder location of the resources files
    • getName

      public String getName()
      Gets the template name.
      Returns:
      the template name.
    • getFile

      public String getFile()
      A shortcut for template file name.
      Returns:
      the template file name.
      See Also:
    • getTemplateFile

      public String getTemplateFile()
      Gets the template file name.
      Returns:
      the template file name.
    • getLocation

      public String getLocation()
      A short cut for template location.
      Returns:
      the folder location of the template file
      See Also:
    • getTemplateLocation

      public String getTemplateLocation()
      Gets the folder location of the template file.
      Returns:
      the folder location of the template file
    • getMainTemplateLocation

      public String getMainTemplateLocation()
      Gets the folder location of the main template file.
      Returns:
      the folder location of the template file
    • getOutputFileNoExt

      public String getOutputFileNoExt()
      Gets the output name.
      Returns:
      the output name.
    • getOutputFileNameNoExt

      public String getOutputFileNameNoExt()
      Gets the output name.
      Returns:
      the output name.
    • getOutputFile

      public String getOutputFile()
      Gets the output file name.
      Returns:
      the output file name.
    • getOutputFileName

      public String getOutputFileName()
      Gets the output file name.
      Returns:
      the output file name.
    • getOutputLocation

      public String getOutputLocation()
      Gets the folder location of the output file.
      Returns:
      the folder location of the output file.
    • getMainOutputLocation

      public String getMainOutputLocation()
      Gets the folder location of the main output file.
      Returns:
      the folder location of the output file.
    • getLatestInputFile

      public String getLatestInputFile()
      Get the latest input file while evaluating.
      Returns:
      the latest input file while evaluating
    • getLatestInputLocation

      public String getLatestInputLocation()
      Get the folder location of latest input file while evaluating.
      Returns:
      the folder location of latest input file while evaluating.
    • getLatestOutputFile

      public String getLatestOutputFile()
      Get the latest output file while evaluating.
      Returns:
      the latest output file while evaluating.
    • getLatestOutputLocation

      public String getLatestOutputLocation()
      Get the folder location of latest output file while evaluating.
      Returns:
      the folder location of latest output file while evaluating.