info.magnolia.imaging.operations.load
Class URLImageLoader<P extends ParameterProvider<?>>
java.lang.Object
info.magnolia.imaging.operations.load.AbstractLoader<P>
info.magnolia.imaging.operations.load.AbstractURLImageLoader<P>
info.magnolia.imaging.operations.load.URLImageLoader<P>
- Type Parameters:
P
- type of ParameterProvider
- All Implemented Interfaces:
- ImageOperation<P>
public class URLImageLoader<P extends ParameterProvider<?>>
- extends AbstractURLImageLoader<P>
Loads an image off an arbitrary URL. So, yes, this can load images off the internet, and yes, it could be
painfully slow.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLImageLoader
public URLImageLoader()
getAndValidateUrl
protected URL getAndValidateUrl(P filterParams)
throws ImagingException
- Specified by:
getAndValidateUrl
in class AbstractURLImageLoader<P extends ParameterProvider<?>>
- Throws:
ImagingException
- where the message should be the invalid URL.
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.