public enum DataFlavor extends Enum<DataFlavor>
| Enum Constant and Description |
|---|
integral |
other |
real |
string |
temporal |
| Modifier and Type | Method and Description |
|---|---|
static DataFlavor |
fromDataType(DataType dataType) |
static DataFlavor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFlavor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFlavor temporal
public static final DataFlavor integral
public static final DataFlavor real
public static final DataFlavor string
public static final DataFlavor other
public static DataFlavor[] values()
for (DataFlavor c : DataFlavor.values()) System.out.println(c);
public static DataFlavor 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 static DataFlavor fromDataType(DataType dataType)
Copyright © 2020. All rights reserved.