Enum PhantomJSDocumentFetcher.Quality
- java.lang.Object
-
- java.lang.Enum<PhantomJSDocumentFetcher.Quality>
-
- com.norconex.collector.http.fetch.impl.PhantomJSDocumentFetcher.Quality
-
- All Implemented Interfaces:
Serializable
,Comparable<PhantomJSDocumentFetcher.Quality>
- Enclosing class:
- PhantomJSDocumentFetcher
public static enum PhantomJSDocumentFetcher.Quality extends Enum<PhantomJSDocumentFetcher.Quality>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PhantomJSDocumentFetcher.Quality
valueOf(String name)
Returns the enum constant of this type with the specified name.static PhantomJSDocumentFetcher.Quality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final PhantomJSDocumentFetcher.Quality AUTO
-
LOW
public static final PhantomJSDocumentFetcher.Quality LOW
-
MEDIUM
public static final PhantomJSDocumentFetcher.Quality MEDIUM
-
HIGH
public static final PhantomJSDocumentFetcher.Quality HIGH
-
MAX
public static final PhantomJSDocumentFetcher.Quality MAX
-
-
Method Detail
-
values
public static PhantomJSDocumentFetcher.Quality[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PhantomJSDocumentFetcher.Quality c : PhantomJSDocumentFetcher.Quality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhantomJSDocumentFetcher.Quality valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-