public enum DomainSearchType extends Enum<DomainSearchType>
Enum Constant and Description |
---|
COMMENTS
search the comments associated with a domain.
|
CRAWLERTRAPS
search in the crawlertraps associated with a domain.
|
NAME
search the name associated with a domain.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedKey()
Return the localized key related to this value.
|
static DomainSearchType |
parse(String type)
Helper method that tries to convert a string to a DomainSearchType.
|
static DomainSearchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainSearchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainSearchType CRAWLERTRAPS
public static final DomainSearchType NAME
public static final DomainSearchType COMMENTS
public static DomainSearchType[] values()
for (DomainSearchType c : DomainSearchType.values()) System.out.println(c);
public static DomainSearchType 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 static DomainSearchType parse(String type)
type
- a DomainSearchType as stringArgumentNotValid
public String getLocalizedKey()
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.