Fixed: Project did not build anymore due to changes in directory layout introduced in commit 52f997f, which conflicted with PR #20
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package org.mustangproject.ZUGFeRD;
|
||||
|
||||
public enum PDFAConformanceLevel {
|
||||
ACCESSIBLE("A"), BASIC("B"), UNICODE("U");
|
||||
|
||||
private final String letter;
|
||||
|
||||
PDFAConformanceLevel(String letter) {
|
||||
this.letter = letter;
|
||||
}
|
||||
|
||||
public String getLetter() {
|
||||
return letter;
|
||||
}
|
||||
|
||||
public static PDFAConformanceLevel findByLetter(String letter) {
|
||||
for (PDFAConformanceLevel candidate : values()) {
|
||||
if (candidate.letter.equals(letter)) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("PDF conformance level <" + letter + "> is unknown.");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mustangproject.ZUGFeRD;
|
||||
|
||||
public enum ZUGFeRDConformanceLevel {
|
||||
BASIC, COMFORT, EXTENDED;
|
||||
}
|
||||
Reference in New Issue
Block a user