|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Directive>
com.esri.gpt.framework.robots.Directive
public enum Directive
Robots.txt file directive.
| Enum Constant Summary | |
|---|---|
Allow
Allow directive |
|
CrawlDelay
Crawl-Delay directive |
|
Disallow
Disallow directive |
|
Host
Host directive |
|
Sitemap
Sitemap directive |
|
UserAgent
User-Agent directive |
|
| Method Summary | |
|---|---|
static Directive |
parseDirective(String nameOrSymbol)
|
String |
symbol()
Gets symbol. |
String |
toString()
|
static Directive |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Directive[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Directive UserAgent
public static final Directive Disallow
public static final Directive Allow
public static final Directive CrawlDelay
public static final Directive Host
public static final Directive Sitemap
| Method Detail |
|---|
public static Directive[] values()
for (Directive c : Directive.values()) System.out.println(c);
public static Directive valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String symbol()
Symbol is a string which could be recognized within robots.txt file
public String toString()
toString in class Enum<Directive>public static Directive parseDirective(String nameOrSymbol)
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||