|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.fop.tools.anttasks.Fop
Wrapper for Fop which allows it to be accessed from within an Ant task. Accepts the inputs:
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) |
boolean |
getLogFiles()
|
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 |
setLogFiles(boolean aBoolean)
Controls whether the filenames of the files that are processed are logged or not. |
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 |
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 setLogFiles(boolean aBoolean)
public boolean getLogFiles()
public void execute() throws org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |