public enum InputMode extends Enum<InputMode> implements CmdLineOptionsProvider
Modifier and Type | Class and Description |
---|---|
static class |
InputMode.Parser
Options for the
InputMode |
Enum Constant and Description |
---|
CSV
Parse urls and keys from a csv record.
|
FLICKR_CSV_MEDIUM
Parse the FlickrCrawler csv file to get the medium url of the image.
|
IMAGE_NET
List of URLs in the form provided by image-net
|
PLAIN
Plain list-of-urls file.
|
WIKIPEDIA_IMAGES_DUMP
Wikipedia image URLs dump format
|
Modifier and Type | Method and Description |
---|---|
abstract InputMode.Parser |
getOptions() |
static InputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputMode WIKIPEDIA_IMAGES_DUMP
public static final InputMode FLICKR_CSV_MEDIUM
public static InputMode[] values()
for (InputMode c : InputMode.values()) System.out.println(c);
public static InputMode 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 abstract InputMode.Parser getOptions()
getOptions
in interface CmdLineOptionsProvider