Class FOPTaskStarter
java.lang.Object
org.apache.fop.tools.anttasks.FOPTaskStarter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate URIprivate static final String[][]private final FopFactoryprotected org.apache.commons.logging.Loglogging instanceprivate static final String[][]private Fop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringdetermineExtension(String outputFormat) protected org.apache.commons.logging.LogReturns the Commons-Logging instance for this classprivate StringnormalizeOutputFormat(String format) private voidprivate voidprivate voidrenderInputHandler(InputHandler inputHandler, File outFile, String outputFormat) private FilereplaceExtension(File file, String expectedExt, String newExt) voidrun()voidsetLogger(org.apache.commons.logging.Log logger) Sets the Commons-Logging instance for this class
-
Field Details
-
fopFactory
-
task
-
baseUri
-
logger
protected org.apache.commons.logging.Log loggerlogging instance -
SHORT_NAMES
-
EXTENSIONS
-
-
Constructor Details
-
FOPTaskStarter
FOPTaskStarter(Fop task) throws SAXException, IOException - Throws:
SAXExceptionIOException
-
-
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
-
determineExtension
-
replaceExtension
-
run
- Throws:
FOPException
-
renderInputHandler
private void renderInputHandler(InputHandler inputHandler, File outFile, String outputFormat) throws Exception - Throws:
Exception
-
render
- Throws:
FOPException
-
render
-