public enum FeedType extends Enum<FeedType>
Modifier and Type | Method and Description |
---|---|
String |
code() |
static FeedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedType RSS2
public static final FeedType RSS
public static final FeedType ATOM
public static FeedType[] values()
for (FeedType c : FeedType.values()) System.out.println(c);
public static FeedType 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 code()
Copyright © 2003–2020 Atlassian. All rights reserved.