public enum BaiWriteOption extends Enum<BaiWriteOption> implements WriteOption
| Modifier and Type | Method and Description |
|---|---|
static BaiWriteOption |
fromBoolean(boolean writeBai)
Turn a boolean into a
BaiWriteOption. |
static String |
getIndexExtension() |
static BaiWriteOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaiWriteOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaiWriteOption ENABLE
public static final BaiWriteOption DISABLE
public static BaiWriteOption[] values()
for (BaiWriteOption c : BaiWriteOption.values()) System.out.println(c);
public static BaiWriteOption 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 BaiWriteOption fromBoolean(boolean writeBai)
BaiWriteOption.writeBai - if writing BAI files is enabledBaiWriteOptionpublic static String getIndexExtension()
Copyright © 2018–2020 Disq contributors. All rights reserved.