public enum CollectorSelector extends Enum<CollectorSelector>
Enum Constant and Description |
---|
LINK_ALL
Gathers all links.
|
LINK_NO_FOLLOW
Gathers all links what have nofollow value in the rel attribute.
|
LINK_VALID
Gathers all correct links.
|
LINK_VALID_NO_RESOURCES
Gathers all correct links what are point to another pages not resources like css, js, etc.
|
TEXT_ALL
Gathers all text from the HTML source.
|
TEXT_BODY
Gathers all text from the body of the HTML source.
|
Modifier and Type | Method and Description |
---|---|
static CollectorSelector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectorSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectorSelector LINK_ALL
public static final CollectorSelector LINK_NO_FOLLOW
public static final CollectorSelector LINK_VALID
public static final CollectorSelector LINK_VALID_NO_RESOURCES
public static final CollectorSelector TEXT_ALL
public static final CollectorSelector TEXT_BODY
public static CollectorSelector[] values()
for (CollectorSelector c : CollectorSelector.values()) System.out.println(c);
public static CollectorSelector 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 nullCopyright © 2015. All rights reserved.