de.kosi.util
Class LatexAntTask

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--de.kosi.util.LatexAntTask

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

This class implements an ant task to convert latex files into ps, pdf, html and plain text.

Author:
Niklas Mehner

Fields inherited from class org.apache.tools.ant.Task
description, location, project, target, taskName, taskType, wrapper
 
Constructor Summary
LatexAntTask()
          Creates a new task.
 
Method Summary
 void execute()
          Die Hauptmethode, mit der der Task gestartet wird.
 void setFilename(java.lang.String filename)
          Sets the filename that is converted.
 void setOutputDir(java.lang.String outputDir)
          Sets the output directory.
 void setSourceDir(java.lang.String sourceDir)
          Sets the directory the latex file is found in.
 
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

LatexAntTask

public LatexAntTask()
Creates a new task.
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Die Hauptmethode, mit der der Task gestartet wird.
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - falls bei der Umwandlung eine Exception auftritt.

setFilename

public void setFilename(java.lang.String filename)
Sets the filename that is converted.
Parameters:
filename - Latex file to convert..

setSourceDir

public void setSourceDir(java.lang.String sourceDir)
Sets the directory the latex file is found in.
Parameters:
sourceDir - directory the latex file is found in.

setOutputDir

public void setOutputDir(java.lang.String outputDir)
Sets the output directory.
Parameters:
outputDir - Directory, the result is placed in.