public static enum FlickrImageDataset.Size extends Enum<FlickrImageDataset.Size>
Enum Constant and Description |
---|
Large
Large size
|
Medium
Medium size
|
Original
The original uploaded size
|
Small
Small size
|
Square
Square thumbnail size
|
Thumbnail
Thumbnail size
|
Modifier and Type | Method and Description |
---|---|
protected abstract URL |
getURL(com.flickr4java.flickr.photos.Photo photo) |
static FlickrImageDataset.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlickrImageDataset.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlickrImageDataset.Size Original
public static final FlickrImageDataset.Size Large
public static final FlickrImageDataset.Size Medium
public static final FlickrImageDataset.Size Small
public static final FlickrImageDataset.Size Thumbnail
public static final FlickrImageDataset.Size Square
public static FlickrImageDataset.Size[] values()
for (FlickrImageDataset.Size c : FlickrImageDataset.Size.values()) System.out.println(c);
public static FlickrImageDataset.Size 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 null