info.magnolia.imaging.operations.load
Class AbstractURLImageLoader<P extends ParameterProvider<?>>
java.lang.Object
info.magnolia.imaging.operations.load.AbstractLoader<P>
info.magnolia.imaging.operations.load.AbstractURLImageLoader<P>
- Type Parameters:
P
- type of ParameterProvider
- All Implemented Interfaces:
- ImageOperation<P>
- Direct Known Subclasses:
- ClasspathImageLoader, URLImageLoader
public abstract class AbstractURLImageLoader<P extends ParameterProvider<?>>
- extends AbstractLoader<P>
Loads images from a URL.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractURLImageLoader
protected AbstractURLImageLoader()
AbstractURLImageLoader
protected AbstractURLImageLoader(Color backgroundColor)
loadSource
protected BufferedImage loadSource(P filterParams)
throws ImagingException
- Specified by:
loadSource
in class AbstractLoader<P extends ParameterProvider<?>>
- Throws:
ImagingException
getAndValidateUrl
protected abstract URL getAndValidateUrl(P filterParams)
throws ImagingException
- Throws:
ImagingException
- where the message should be the invalid URL.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.