org.apache.fop.tools.anttasks
Class Fop

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.fop.tools.anttasks.Fop

public class Fop
extends org.apache.tools.ant.Task

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, project, target, taskName, taskType, wrapper
 
Constructor Summary
Fop()
           
 
Method Summary
 void execute()
          Starts execution of this task
 java.io.File getBasedir()
          Gets the base directory
 java.io.File getFofile()
          Gets the input file
 int getMessageType()
          Returns the message type corresponding to Property.MSG_(INFO | VERBOSE | DEBUG) representing the current message level.
 java.io.File getPdffile()
          Sets 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 setMessagelevel(java.lang.String messageLevel)
          Sets the message level to be used while processing.
 void setPdffile(java.io.File pdfFile)
          Sets the output file
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fop

public Fop()
Method Detail

setFofile

public void setFofile(java.io.File foFile)
Sets the input file
Parameters:
File - to input from

getFofile

public java.io.File getFofile()
Gets the input file

setPdffile

public void setPdffile(java.io.File pdfFile)
Sets the output file
Parameters:
File - to output to

getPdffile

public java.io.File getPdffile()
Sets the output file

setMessagelevel

public void setMessagelevel(java.lang.String messageLevel)
Sets the message level to be used while processing.
Parameters:
String - (info | verbose | debug)

getMessageType

public int getMessageType()
Returns the message type corresponding to Property.MSG_(INFO | VERBOSE | DEBUG) representing the current message level.

setBasedir

public void setBasedir(java.io.File baseDir)
Sets the base directory; currently ignored
Parameters:
File - to use as a working directory

getBasedir

public java.io.File getBasedir()
Gets the base directory

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Starts execution of this task
Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.