JpgFormat.java
938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.native2pdf.xml;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
@XmlType(name="jpgFormat")
@XmlEnum
public enum JpgFormat {
BASELINE_STD("Baseline-Std"),
BASELINE_OPT("Baseline-Opt"),
PROGRESSIVE_3("Progressive-3"),
PROGRESSIVE_4("Progressive-4"),
PROGRESSIVE_5("Progressive-5");
private final String value;
private JpgFormat(String v) {
this.value = v;
}
public String value() {
return this.value;
}
public static JpgFormat fromValue(String v) {
for (JpgFormat c : JpgFormat.values()) {
if (!c.value.equals(v)) continue;
return c;
}
throw new IllegalArgumentException(v);
}
}