public enum SlackFileType extends Enum<SlackFileType>
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static SlackFileType |
parse(String field) |
static SlackFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlackFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlackFileType TEXT
public static final SlackFileType GIF
public static final SlackFileType CSV
public static final SlackFileType JPG
public static final SlackFileType PNG
public static final SlackFileType UNKNOWN
public static SlackFileType[] values()
for (SlackFileType c : SlackFileType.values()) System.out.println(c);
public static SlackFileType 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 getType()
public static SlackFileType parse(String field)
Copyright © 2019. All rights reserved.