public enum DocumentFormat extends java.lang.Enum<DocumentFormat>
| Enum Constant and Description |
|---|
A4
A4 format document
|
ID1
ID-1 format.
|
ID2
ID-2 format.
|
ID3
ID-3 format.
|
UNKNOWN
Unknown document format.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentFormat |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static DocumentFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentFormat UNKNOWN
public static final DocumentFormat A4
public static final DocumentFormat ID1
public static final DocumentFormat ID2
public static final DocumentFormat ID3
public static DocumentFormat[] values()
for (DocumentFormat c : DocumentFormat.values()) System.out.println(c);
public static DocumentFormat 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 int getValue()
public static DocumentFormat fromValue(int value)
value - The int value.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document