|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.PdfASID
public class PdfASID
This class encapsulates the Pdf-AS ID ("Kennzeichnung") urn.
| Field Summary | |
|---|---|
protected static String |
NAMESPACE
The namespace of the urn. |
protected static String |
SPLIT_STRING
The separator between urn blocks. |
protected String |
type
The algorithm type. |
protected static String |
URN
The urn word that leads in the identifier. |
protected String |
vendor
The vendor. |
protected String |
version
The version of the algorithm. |
| Constructor Summary | |
|---|---|
PdfASID(PdfASID other)
Copy Constructor. |
|
PdfASID(String id)
Parses the given id String and throws an Exception if it is not valid. |
|
PdfASID(String vendor,
String type,
String version)
Constructor that fills in the parameters directly. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getType()
Returns the type. |
String |
getVendor()
Returns the vendor. |
String |
getVersion()
Returns the version. |
int |
hashCode()
|
boolean |
isOldCp1252Version()
Returns if it is an old textual signature (pre 1.2.0) that used cp1252 encoding for text extraction (mostly) |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String URN
protected static final String NAMESPACE
protected static final String SPLIT_STRING
protected String vendor
protected String type
protected String version
| Constructor Detail |
|---|
public PdfASID(String vendor,
String type,
String version)
vendor - type - version -
public PdfASID(String id)
throws InvalidIDException
id - The id String to be parsed.
InvalidIDExceptionpublic PdfASID(PdfASID other)
other - The other PdfASID to copy the data from.| Method Detail |
|---|
public String getType()
public String getVendor()
public String getVersion()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()public boolean isOldCp1252Version()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||