info.magnolia.imaging.operations.load
Class ClasspathImageLoader<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.ClasspathImageLoader<P>
- Type Parameters:
P
- type of ParameterProvider
- All Implemented Interfaces:
- ImageOperation<P>
public class ClasspathImageLoader<P extends ParameterProvider<?>>
- extends AbstractURLImageLoader<P>
An ImageFilter which loads an image from the classpath.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathImageLoader
public ClasspathImageLoader()
ClasspathImageLoader
public ClasspathImageLoader(String src)
ClasspathImageLoader
public ClasspathImageLoader(Color backgroundColor,
String src)
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.
setSrc
public void setSrc(String src)
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.