public enum Format extends Enum<Format>
| Enum Constant and Description |
|---|
DTD |
EXCEL |
INLINE_SQL |
JSON |
SQL_SCRIPT |
UNSUPPORTED |
XML |
YAML |
| Modifier and Type | Method and Description |
|---|---|
String |
extension() |
static Format |
inferFromFile(String fileName) |
static boolean |
isFileType(Format format) |
static Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format DTD
public static final Format XML
public static final Format EXCEL
public static final Format YAML
public static final Format JSON
public static final Format INLINE_SQL
public static final Format SQL_SCRIPT
public static final Format UNSUPPORTED
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 boolean isFileType(Format format)
public String extension()
Copyright © 2018 JBoss by Red Hat. All rights reserved.