diff options
author | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-05 14:25:59 +0000 |
---|---|---|
committer | ferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-01-05 14:25:59 +0000 |
commit | ee4c98f1bb6e97c719be494238856299d821a054 (patch) | |
tree | 874465500d9c200b2be70657ef7e7ba88aa17b37 /src | |
parent | 6210beeaa4e1dc63f8f3c897c84b734c77f0301c (diff) | |
download | pdf-as-3-ee4c98f1bb6e97c719be494238856299d821a054.tar.gz pdf-as-3-ee4c98f1bb6e97c719be494238856299d821a054.tar.bz2 pdf-as-3-ee4c98f1bb6e97c719be494238856299d821a054.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@528 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_2_0.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_2_0.java b/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_2_0.java new file mode 100644 index 0000000..ad3b246 --- /dev/null +++ b/src/main/java/at/gv/egiz/pdfas/impl/signator/textual/TextualSignator_1_2_0.java @@ -0,0 +1,30 @@ +package at.gv.egiz.pdfas.impl.signator.textual;
+
+import at.knowcenter.wag.egov.egiz.PdfASID;
+import at.knowcenter.wag.egov.egiz.framework.SignatorFactory;
+
+/**
+ *
+ * @author dferbas
+ *
+ */
+public class TextualSignator_1_2_0 extends TextualSignator_1_1_0 {
+ /**
+ * The Pdf-AS ID of this Signator.
+ */
+ public static final PdfASID MY_ID = new PdfASID(SignatorFactory.VENDOR, SignatorFactory.TYPE_TEXTUAL, SignatorFactory.VERSION_1_2_0);
+
+ /**
+ * @see at.knowcenter.wag.egov.egiz.framework.Signator#getMyId()
+ */
+ public PdfASID getMyId()
+ {
+ return MY_ID;
+ }
+
+ public String getEncoding() {
+ // nail encoding to utf8 from this version on
+ return "utf8";
+ }
+
+}
|