public class Conformance
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Conformance.PdfAVersion |
The attributes of a PDF/A version
|
static class |
Conformance.Version |
The PDF version number
|
Constructor | Description |
---|---|
Conformance(Conformance.PdfAVersion pdfa) |
Create a new PDF/A conformance.
|
Conformance(Conformance.Version version) |
Create a new conformance for a specific PDF version.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
conformsTo(Conformance other) |
Check if this conformance conforms to another.
|
boolean |
equals(java.lang.Object other) |
|
Conformance.PdfAVersion |
getPdfA() |
The the PDF/A version attributes of this conformance
|
Conformance.Version |
getVersion() |
The PDF version of this conformance
|
int |
hashCode() |
|
static Conformance |
parse(java.lang.String conformance) |
|
java.lang.String |
toString() |
public Conformance(Conformance.Version version)
public Conformance(Conformance.PdfAVersion pdfa)
public Conformance.Version getVersion()
public Conformance.PdfAVersion getPdfA()
null
for non PDF/A conformances. The PDF/A version otherwise.public boolean conformsTo(Conformance other)
public java.lang.String toString()
toString
in class java.lang.Object
public static Conformance parse(java.lang.String conformance)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object