public static enum Codes.Mime extends java.lang.Enum<Codes.Mime>
Enum Constant and Description |
---|
application_pdf
application/pdf
|
application_vnd_oasis_opendocument_spreadsheet
application/vnd.oasis.opendocument.spreadsheet
|
application_vnd_openxmlformats_officedocument_spreadsheetml_sheet
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
CustomEntry1
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry10
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry2
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry3
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry4
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry5
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry6
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry7
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry8
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
CustomEntry9
Custom entry whose member "value" gets updated to "value" on calls to
fromString(String value) |
image_jpeg
image/jpeg
|
image_png
image/png
|
text_csv
text/csv
|
Modifier and Type | Method and Description |
---|---|
static Codes.Mime |
fromString(java.lang.String value)
Convert a String to a Mime.
|
java.lang.String |
getValue()
Get the "Value" property value
|
static boolean |
isNativeValue(java.lang.String value)
Tests if
valueOf(value) would return a non custom enum value |
java.lang.String |
toString()
Returns a string representation of the Mime.
|
static Codes.Mime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Codes.Mime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Codes.Mime application_pdf
public static final Codes.Mime image_png
public static final Codes.Mime image_jpeg
public static final Codes.Mime text_csv
public static final Codes.Mime application_vnd_openxmlformats_officedocument_spreadsheetml_sheet
public static final Codes.Mime application_vnd_oasis_opendocument_spreadsheet
public static final Codes.Mime CustomEntry1
fromString(String value)
public static final Codes.Mime CustomEntry2
fromString(String value)
public static final Codes.Mime CustomEntry3
fromString(String value)
public static final Codes.Mime CustomEntry4
fromString(String value)
public static final Codes.Mime CustomEntry5
fromString(String value)
public static final Codes.Mime CustomEntry6
fromString(String value)
public static final Codes.Mime CustomEntry7
fromString(String value)
public static final Codes.Mime CustomEntry8
fromString(String value)
public static final Codes.Mime CustomEntry9
fromString(String value)
public static final Codes.Mime CustomEntry10
fromString(String value)
public static Codes.Mime[] values()
for (Codes.Mime c : Codes.Mime.values()) System.out.println(c);
public static Codes.Mime valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Codes.Mime>
public static Codes.Mime fromString(java.lang.String value)
IllegalArgumentException
if the value doesn't exist unless the system property "facturx.laxenums" is set to true.
In the latter case, a custom value is returned if available.public static boolean isNativeValue(java.lang.String value)
valueOf(value)
would return a non custom enum valuevalueOf(value)
would return a non custom enum value