public enum SortType extends Enum<SortType>
| Enum Constant and Description |
|---|
AUTHOR |
CREATED |
CREATOR |
DESCRIPTION |
MIMETYPE |
MODIFIED |
MODIFIER |
NAME |
RELEVANCE |
SIZE |
TITLE |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
getSortName() |
static SortType |
getSortType(String name)
Find the
SortType based it is name. |
static SortType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortType RELEVANCE
public static final SortType NAME
public static final SortType TITLE
public static final SortType DESCRIPTION
public static final SortType AUTHOR
public static final SortType MODIFIER
public static final SortType MODIFIED
public static final SortType CREATOR
public static final SortType CREATED
public static final SortType SIZE
public static final SortType MIMETYPE
public static final SortType TYPE
public static SortType[] values()
for (SortType c : SortType.values()) System.out.println(c);
public static SortType 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 String getSortName()
Copyright © 2013. All Rights Reserved.