Class FOPTaskStarter

java.lang.Object
org.apache.fop.tools.anttasks.FOPTaskStarter

class FOPTaskStarter extends Object
  • Field Details

    • fopFactory

      private final FopFactory fopFactory
    • task

      private Fop task
    • baseUri

      private URI baseUri
    • logger

      protected org.apache.commons.logging.Log logger
      logging instance
    • SHORT_NAMES

      private static final String[][] SHORT_NAMES
    • EXTENSIONS

      private static final String[][] EXTENSIONS
  • Constructor Details

  • Method Details

    • setLogger

      public void setLogger(org.apache.commons.logging.Log logger)
      Sets the Commons-Logging instance for this class
      Parameters:
      logger - The Commons-Logging instance
    • getLogger

      protected org.apache.commons.logging.Log getLogger()
      Returns the Commons-Logging instance for this class
      Returns:
      The Commons-Logging instance
    • normalizeOutputFormat

      private String normalizeOutputFormat(String format)
    • determineExtension

      private String determineExtension(String outputFormat)
    • replaceExtension

      private File replaceExtension(File file, String expectedExt, String newExt)
    • run

      public void run() throws FOPException
      Throws:
      FOPException
    • renderInputHandler

      private void renderInputHandler(InputHandler inputHandler, File outFile, String outputFormat) throws Exception
      Throws:
      Exception
    • render

      private void render(File foFile, File outFile, String outputFormat) throws FOPException
      Throws:
      FOPException
    • render

      private void render(File xmlFile, File xsltFile, File outFile, String outputFormat)