Package org.apache.fop.tools.anttasks
Class FOPTaskStarter
java.lang.Object
org.apache.fop.tools.anttasks.FOPTaskStarter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate URI
private static final String[][]
private final FopFactory
protected org.apache.commons.logging.Log
logging instanceprivate static final String[][]
private Fop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
determineExtension
(String outputFormat) protected org.apache.commons.logging.Log
Returns the Commons-Logging instance for this classprivate String
normalizeOutputFormat
(String format) private void
private void
private void
renderInputHandler
(InputHandler inputHandler, File outFile, String outputFormat) private File
replaceExtension
(File file, String expectedExt, String newExt) void
run()
void
setLogger
(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:
SAXException
IOException
-
-
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
-