Package org.apache.pdfbox.examples.ant
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
FieldsFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileset(org.apache.tools.ant.types.FileSet set) Adds a set of files (nested fileset attribute).voidexecute()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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
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:
executein classorg.apache.tools.ant.Task
-