|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.fop.tools.anttasks.Fop
public class Fop
Wrapper for Fop which allows it to be accessed from within an Ant task. Accepts the inputs:
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, 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 |
File |
getBasedir()
Gets the base directory |
File |
getFofile()
Gets the input file |
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. |
File |
getOutdir()
Gets the output directory |
File |
getOutfile()
Gets the output file |
void |
setBasedir(File baseDir)
Sets the base directory; currently ignored |
void |
setFofile(File foFile)
Sets the input file |
void |
setFormat(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(String messageLevel)
Sets the message level to be used while processing. |
void |
setOutdir(File outDir)
Sets the output directory |
void |
setOutfile(File outFile)
Sets the output file |
void |
setUserconfig(File userConfig)
Sets the input file |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fop()
Method Detail |
---|
public void setUserconfig(File userConfig)
File
- to input frompublic void setFofile(File foFile)
File
- to input frompublic File getFofile()
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void setOutfile(File outFile)
File
- to output topublic File getOutfile()
public void setOutdir(File outDir)
Directory
- to output topublic File getOutdir()
public void setFormat(String format)
public String getFormat()
public void setMessagelevel(String messageLevel)
String
- (info | verbose | debug)public int getMessageType()
public void setBasedir(File baseDir)
File
- to use as a working directorypublic File getBasedir()
public void setLogFiles(boolean aBoolean)
public boolean getLogFiles()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |