public static enum WebPage.Field extends Enum<WebPage.Field>
Enum Constant and Description |
---|
BASE_URL |
BATCH_ID |
CONTENT |
CONTENT_TYPE |
FETCH_INTERVAL |
FETCH_TIME |
HEADERS |
INLINKS |
MARKERS |
METADATA |
MODIFIED_TIME |
OUTLINKS |
PARSE_STATUS |
PREV_FETCH_TIME |
PREV_MODIFIED_TIME |
PREV_SIGNATURE |
PROTOCOL_STATUS |
REPR_URL |
RETRIES_SINCE_FETCH |
SCORE |
SIGNATURE |
STATUS |
TEXT |
TITLE |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
String |
getName()
Gets field's name.
|
String |
toString()
Gets field's attributes to string.
|
static WebPage.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebPage.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebPage.Field BASE_URL
public static final WebPage.Field STATUS
public static final WebPage.Field FETCH_TIME
public static final WebPage.Field PREV_FETCH_TIME
public static final WebPage.Field FETCH_INTERVAL
public static final WebPage.Field RETRIES_SINCE_FETCH
public static final WebPage.Field MODIFIED_TIME
public static final WebPage.Field PREV_MODIFIED_TIME
public static final WebPage.Field PROTOCOL_STATUS
public static final WebPage.Field CONTENT
public static final WebPage.Field CONTENT_TYPE
public static final WebPage.Field PREV_SIGNATURE
public static final WebPage.Field SIGNATURE
public static final WebPage.Field TITLE
public static final WebPage.Field TEXT
public static final WebPage.Field PARSE_STATUS
public static final WebPage.Field SCORE
public static final WebPage.Field REPR_URL
public static final WebPage.Field HEADERS
public static final WebPage.Field OUTLINKS
public static final WebPage.Field INLINKS
public static final WebPage.Field MARKERS
public static final WebPage.Field METADATA
public static final WebPage.Field BATCH_ID
public static WebPage.Field[] values()
for (WebPage.Field c : WebPage.Field.values()) System.out.println(c);
public static WebPage.Field 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 int getIndex()
public String getName()
public String toString()
toString
in class Enum<WebPage.Field>
Copyright © 2015 The Apache Software Foundation