aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-05 14:24:44 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-01-05 14:24:44 +0000
commit48fce47ee8da467b0a7ed350b68b80acadc99cd2 (patch)
tree178b7ab1705f1598848dd4db50e9dbf8020a8b16 /src/main
parent1dc37425d3bfc0beb41945e36fa06710adda3d42 (diff)
downloadpdf-as-3-48fce47ee8da467b0a7ed350b68b80acadc99cd2.tar.gz
pdf-as-3-48fce47ee8da467b0a7ed350b68b80acadc99cd2.tar.bz2
pdf-as-3-48fce47ee8da467b0a7ed350b68b80acadc99cd2.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@523 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java b/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
index 904bd9d..c0532a4 100644
--- a/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
+++ b/src/main/java/at/gv/egiz/pdfas/commandline/CommandlineConnectorChooser.java
@@ -111,6 +111,12 @@ public class CommandlineConnectorChooser
return chooseDetachedMultipartConnector(connectorType);
}
+ if (sig_kz.getVersion().equals(SignatorFactory.VERSION_1_2_0))
+ {
+ log.debug("Version is 1.2.0 -> chose a detached connector.");
+
+ return chooseDetachedMultipartConnector(connectorType);
+ }
throw new ConnectorException(310, "The SIG_KZ version '" + sig_kz.getVersion() + "' is unknown.");
}