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, setEntrySelection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected com.flickr4java.flickr.Flickr flickr
public FlickrWebpageImageCollection()
public void setup(ImageCollectionConfig config) throws ImageCollectionSetupException
ImageCollection
setup
in interface ImageCollection<MBFImage>
setup
in class AbstractWebpageImageCollection
ImageCollectionSetupException
public Set<IndependentPair<URL,Map<String,String>>> prepareURLs(URL url) throws ImageCollectionSetupException
prepareURLs
in class AbstractWebpageImageCollection
ImageCollectionSetupException
protected abstract com.flickr4java.flickr.photos.PhotoList<com.flickr4java.flickr.photos.Photo> flickrProcess(String string)
public int useable(ImageCollectionConfig config)
ImageCollection
useable
in interface ImageCollection<MBFImage>
useable
in class AbstractWebpageImageCollection
public int useable(String rawInput)
ImageCollection
rawInput
- stringpublic ImageCollectionConfig defaultConfig(String rawInput)
ImageCollection
rawInput
- stringpublic abstract int flickrUseable(String path)