public enum ReaderType extends Enum<ReaderType>
Enum Constant and Description |
---|
BOTH
BOTH
|
MADONA
Madona reader type
|
OTHER
OTHER
|
SQLITE
SqLite reader type
|
Modifier and Type | Method and Description |
---|---|
int |
getRank()
Method to get the rank in the enumeration of the type.
|
static ReaderType |
getType(int rank)
Method allowing to get the reader type depending on the rank
|
String |
toString()
Method allowing to get the type as a string.
|
static ReaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReaderType MADONA
public static final ReaderType SQLITE
public static final ReaderType BOTH
public static final ReaderType OTHER
public static ReaderType[] values()
for (ReaderType c : ReaderType.values()) System.out.println(c);
public static ReaderType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ReaderType>
public int getRank()
public static ReaderType getType(int rank)
rank
- rank of the readerCopyright © 2023. All rights reserved.