public enum FileBrowserSort extends Enum<FileBrowserSort>
| Enum Constant and Description |
|---|
FILE_SIZE
File size sort.
|
LAST_MODIFICATION
Last modification sort.
|
TITLE
Title sort.
|
| Modifier and Type | Method and Description |
|---|---|
static FileBrowserSort |
fromId(String id)
Get criteria from identifier.
|
String |
getId()
Getter for id.
|
String |
getKey()
Getter for key.
|
static FileBrowserSort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBrowserSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBrowserSort TITLE
public static final FileBrowserSort LAST_MODIFICATION
public static final FileBrowserSort FILE_SIZE
public static FileBrowserSort[] values()
for (FileBrowserSort c : FileBrowserSort.values()) System.out.println(c);
public static FileBrowserSort 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 FileBrowserSort fromId(String id)
id - identifierpublic String getId()
public String getKey()
Copyright © 2022. All rights reserved.