public static enum CrowdinFileSystem.ItemType extends Enum<CrowdinFileSystem.ItemType>
enum represents the item types in the "Crowdin file system".| Enum Constant and Description |
|---|
BRANCH
A special type of folder that represents a Crowdin branch
|
FILE
A Crowdin file
|
FOLDER
A Crowdin folder
|
| Modifier and Type | Method and Description |
|---|---|
static CrowdinFileSystem.ItemType |
typeOf(org.jdom2.Element item)
Returns the
CrowdinFileSystem.ItemType of the specified Crowdin item or
null. |
static CrowdinFileSystem.ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrowdinFileSystem.ItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrowdinFileSystem.ItemType BRANCH
public static final CrowdinFileSystem.ItemType FILE
public static final CrowdinFileSystem.ItemType FOLDER
public static CrowdinFileSystem.ItemType[] values()
for (CrowdinFileSystem.ItemType c : CrowdinFileSystem.ItemType.values()) System.out.println(c);
public static CrowdinFileSystem.ItemType 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 null@Nullable public static CrowdinFileSystem.ItemType typeOf(@Nullable org.jdom2.Element item)
CrowdinFileSystem.ItemType of the specified Crowdin item or
null.item - the item whose CrowdinFileSystem.ItemType to find.CrowdinFileSystem.ItemType or null.Copyright © 2018. All rights reserved.