public static enum StorageConfiguration.Paths extends Enum<StorageConfiguration.Paths> implements IConfigurationPath
Enum Constant and Description |
---|
ConfigBinary
File to store db settings.
|
Data
File to store the data.
|
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Getting the file for the kind.
|
boolean |
isFolder()
Check if file is denoted as folder or not.
|
static StorageConfiguration.Paths |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageConfiguration.Paths[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageConfiguration.Paths ConfigBinary
public static final StorageConfiguration.Paths Data
public static StorageConfiguration.Paths[] values()
for (StorageConfiguration.Paths c : StorageConfiguration.Paths.values()) System.out.println(c);
public static StorageConfiguration.Paths 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 File getFile()
getFile
in interface IConfigurationPath
public boolean isFolder()
isFolder
in interface IConfigurationPath
Copyright © 2013. All Rights Reserved.