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:
Yannik Hampe
2017-05-23 13:29:21 +02:00
parent 94cffe543a
commit b95f212c6a
2 changed files with 0 additions and 0 deletions

View File

@@ -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.");
}
}

View File

@@ -0,0 +1,5 @@
package org.mustangproject.ZUGFeRD;
public enum ZUGFeRDConformanceLevel {
BASIC, COMFORT, EXTENDED;
}