|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.fop.tools.anttasks.Fop
Wrapper for Fop which allows it to be accessed from within an Ant task. Accepts the inputs:
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
Fop()
|
Method Summary | |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of fo files (nested fileset attribute). |
void |
execute()
Starts execution of this task |
java.io.File |
getBasedir()
Gets the base directory |
java.io.File |
getFofile()
Gets the input file |
java.lang.String |
getFormat()
Gets the output format (MIME type) |
int |
getMessageType()
Returns the message type corresponding to Property.MSG_(INFO | VERBOSE | DEBUG) representing the current message level. |
java.io.File |
getOutdir()
Gets the output directory |
java.io.File |
getOutfile()
Gets the output file |
void |
setBasedir(java.io.File baseDir)
Sets the base directory; currently ignored |
void |
setFofile(java.io.File foFile)
Sets the input file |
void |
setFormat(java.lang.String format)
Sets output format (MIME type) |
void |
setMessagelevel(java.lang.String messageLevel)
Sets the message level to be used while processing. |
void |
setOutdir(java.io.File outDir)
Sets the output directory |
void |
setOutfile(java.io.File outFile)
Sets the output file |
void |
setUserconfig(java.io.File userConfig)
Sets the input file |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Fop()
Method Detail |
public void setUserconfig(java.io.File userConfig)
File
- to input frompublic void setFofile(java.io.File foFile)
File
- to input frompublic java.io.File getFofile()
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void setOutfile(java.io.File outFile)
File
- to output topublic java.io.File getOutfile()
public void setOutdir(java.io.File outDir)
Directory
- to output topublic java.io.File getOutdir()
public void setFormat(java.lang.String format)
public java.lang.String getFormat()
public void setMessagelevel(java.lang.String messageLevel)
String
- (info | verbose | debug)public int getMessageType()
public void setBasedir(java.io.File baseDir)
File
- to use as a working directorypublic java.io.File getBasedir()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |