@ThreadSafe public enum YahooFeedEventTranslator extends Enum<YahooFeedEventTranslator> implements EventTranslator
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromEvent(Event inEvent) |
List<Event> |
toEvent(Object inData,
String inHandle) |
static YahooFeedEventTranslator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YahooFeedEventTranslator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YahooFeedEventTranslator INSTANCE
public static YahooFeedEventTranslator[] values()
for (YahooFeedEventTranslator c : YahooFeedEventTranslator.values()) System.out.println(c);
public static YahooFeedEventTranslator 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 List<Event> toEvent(Object inData, String inHandle) throws CoreException
toEvent in interface EventTranslatorCoreExceptionpublic Object fromEvent(Event inEvent) throws CoreException
fromEvent in interface EventTranslatorCoreExceptionCopyright © 2015. All Rights Reserved.