Top Description Fields Constructors Methods
org.apache.pdfbox.examples.ant

public Class PDFToTextTask

extends Task
Class Inheritance
Imports
java.io.File, java.util.ArrayList, .List, org.apache.pdfbox.tools.ExtractText, org.apache.tools.ant.Task, org.apache.tools.ant.types.FileSet

This is an Ant task that will allow pdf documents to be converted using an Ant task.
Author
Ben Litchfield

Field Summary

Modifier and TypeField and Description
private final List<FileSet>
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addFileset(FileSet
Another fileset to add.
set
)

Adds a set of files (nested fileset attribute).

public void
execute()

Overrides org.apache.tools.ant.Task.execute.

This will perform the execution.

Inherited from org.apache.tools.ant.Task:
bindToOwnergetOwningTargetgetRuntimeConfigurableWrappergetTaskNamegetTaskTypegetWrapperhandleErrorFlushhandleErrorOutputhandleFlushhandleInputhandleOutputinitisInvalidloglogloglogmaybeConfigureperformreconfiguresetOwningTargetsetRuntimeConfigurableWrappersetTaskNamesetTaskType

Field Detail

fileSetsback to summary
private final List<FileSet> fileSets

Constructor Detail

PDFToTextTaskback to summary
public PDFToTextTask()

Method Detail

addFilesetback to summary
public void addFileset(FileSet set)

Adds a set of files (nested fileset attribute).

Parameters
set:FileSet

Another fileset to add.

executeback to summary
public void execute()

Overrides org.apache.tools.ant.Task.execute.

This will perform the execution.

Annotations
@Override