public abstract class FlickrWebpageImageCollection extends AbstractWebpageImageCollection
| Modifier and Type | Class and Description |
|---|---|
static class |
FlickrWebpageImageCollection.FlickrPhotoCollection |
static class |
FlickrWebpageImageCollection.FlickrPhotoSet |
static class |
FlickrWebpageImageCollection.Gallery |
AbstractWebpageImageCollection.Generic| Modifier and Type | Field and Description |
|---|---|
protected com.flickr4java.flickr.Flickr |
flickr |
| Constructor and Description |
|---|
FlickrWebpageImageCollection() |
| Modifier and Type | Method and Description |
|---|---|
ImageCollectionConfig |
defaultConfig(String rawInput)
If possible, will return a default configuration using the raw input
|
protected abstract com.flickr4java.flickr.photos.PhotoList<com.flickr4java.flickr.photos.Photo> |
flickrProcess(String string) |
abstract int |
flickrUseable(String path) |
Set<IndependentPair<URL,Map<String,String>>> |
prepareURLs(URL url) |
void |
setup(ImageCollectionConfig config)
Setup this collection using the provided collection config.
|
int |
useable(ImageCollectionConfig config)
Is the contents of the provided image colleciton config sufficient for this collection to run.
|
int |
useable(String rawInput)
Given a raw string which might define a URL, file location or whatever, can this collection construct a default configuration
which works.
|
countImages, getAll, iterator, setEntrySelectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected com.flickr4java.flickr.Flickr flickr
public FlickrWebpageImageCollection()
public void setup(ImageCollectionConfig config) throws ImageCollectionSetupException
ImageCollectionsetup in interface ImageCollection<MBFImage>setup in class AbstractWebpageImageCollectionImageCollectionSetupExceptionpublic Set<IndependentPair<URL,Map<String,String>>> prepareURLs(URL url) throws ImageCollectionSetupException
prepareURLs in class AbstractWebpageImageCollectionImageCollectionSetupExceptionprotected abstract com.flickr4java.flickr.photos.PhotoList<com.flickr4java.flickr.photos.Photo> flickrProcess(String string)
public int useable(ImageCollectionConfig config)
ImageCollectionuseable in interface ImageCollection<MBFImage>useable in class AbstractWebpageImageCollectionpublic int useable(String rawInput)
ImageCollectionrawInput - stringpublic ImageCollectionConfig defaultConfig(String rawInput)
ImageCollectionrawInput - stringpublic abstract int flickrUseable(String path)