From e39bbddffd31c5900f47f6c0ceb9fc66037f040b Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Wed, 25 Nov 2020 08:56:42 +0100 Subject: fixed url problem A-Trust --- pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pdf-over-commons/src/main/java/at/asit') diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java index c15fc225..057b5826 100644 --- a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java +++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java @@ -7,7 +7,7 @@ public enum Profile { BASE_LOGO, //$NON-NLS-1$ INVISIBLE; - public static int length = 4; + public static int length = Profile.values().length; public static Profile getProfile(String name) { if (SIGNATURBLOCK_SMALL.name().equals(name)) { @@ -22,5 +22,9 @@ public enum Profile { return null; } + public static String getDefaultProfile(){ + return SIGNATURBLOCK_SMALL.name(); + } + } -- cgit v1.2.3