public abstract class AbstractWebpageImageCollection extends Object implements ImageCollection<MBFImage>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractWebpageImageCollection.Generic |
Constructor and Description |
---|
AbstractWebpageImageCollection() |
Modifier and Type | Method and Description |
---|---|
int |
countImages() |
List<ImageCollectionEntry<MBFImage>> |
getAll() |
Iterator<ImageCollectionEntry<MBFImage>> |
iterator() |
abstract Set<IndependentPair<URL,Map<String,String>>> |
prepareURLs(URL url) |
void |
setEntrySelection(ImageCollectionEntrySelection<MBFImage> selection)
Control how an image collection is to accept or ignore a given entry of the collection
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultConfig, useable
forEach, spliterator
public AbstractWebpageImageCollection()
public Iterator<ImageCollectionEntry<MBFImage>> iterator()
iterator
in interface Iterable<ImageCollectionEntry<MBFImage>>
public void setup(ImageCollectionConfig config) throws ImageCollectionSetupException
ImageCollection
setup
in interface ImageCollection<MBFImage>
ImageCollectionSetupException
public abstract Set<IndependentPair<URL,Map<String,String>>> prepareURLs(URL url) throws ImageCollectionSetupException
ImageCollectionSetupException
public int useable(ImageCollectionConfig config)
ImageCollection
useable
in interface ImageCollection<MBFImage>
public List<ImageCollectionEntry<MBFImage>> getAll()
getAll
in interface ImageCollection<MBFImage>
public int countImages()
countImages
in interface ImageCollection<MBFImage>
public void setEntrySelection(ImageCollectionEntrySelection<MBFImage> selection)
ImageCollection
setEntrySelection
in interface ImageCollection<MBFImage>