diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-05 14:43:59 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-05 14:43:59 +0000 |
commit | 40d91466456af5fd9b6ea0c843e39f1638f8ac6c (patch) | |
tree | ac206672495064f7c5552c2f160e5a1f07b9fff4 /src | |
parent | cdb89970ab42b4477e06ae7b59f2a5bf9f3d1bdc (diff) | |
download | pdf-as-3-40d91466456af5fd9b6ea0c843e39f1638f8ac6c.tar.gz pdf-as-3-40d91466456af5fd9b6ea0c843e39f1638f8ac6c.tar.bz2 pdf-as-3-40d91466456af5fd9b6ea0c843e39f1638f8ac6c.zip |
added text sig version 1.2.0
fixed text extraction encoding bug
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@537 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/pdf/TextualSignature.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TextualSignature.java b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TextualSignature.java index c2a253b..841e2a6 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TextualSignature.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/pdf/TextualSignature.java @@ -64,7 +64,7 @@ public class TextualSignature * @throws TextExtractionException
* Forwarded exception.
*/
- public static String extractTextTextual(PdfDataSource pdfDataSource) throws PDFDocumentException
+ public static String extractTextTextual(PdfDataSource pdfDataSource, String encoding) throws PDFDocumentException
{
PerformanceCounters.textExtractions.increment();
@@ -170,7 +170,7 @@ public class TextualSignature // stripper.setStartPage(4);
// stripper.setEndPage(4);
logger_.debug("TextualSignator extractTextTextual: Begin stripping text");
- String text = stripper.getText(doc);
+ String text = stripper.getText(doc, encoding);
logger_.debug("TextualSignator extractTextTextual: Stripping text ended");
doc.close();
|