Class PDFToTextTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.pdfbox.examples.ant.PDFToTextTask
All Implemented Interfaces:
Cloneable

public class PDFToTextTask extends org.apache.tools.ant.Task
This is an Ant task that will allow pdf documents to be converted using an Ant task.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<org.apache.tools.ant.types.FileSet>
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFileset(org.apache.tools.ant.types.FileSet set)
    Adds a set of files (nested fileset attribute).
    void
    This will perform the execution.

    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
  • Field Details

    • fileSets

      private final List<org.apache.tools.ant.types.FileSet> fileSets
  • Constructor Details

    • PDFToTextTask

      public PDFToTextTask()
  • Method Details

    • addFileset

      public void addFileset(org.apache.tools.ant.types.FileSet set)
      Adds a set of files (nested fileset attribute).
      Parameters:
      set - Another fileset to add.
    • execute

      public void execute()
      This will perform the execution.
      Overrides:
      execute in class org.apache.tools.ant.Task