com.liferay.portal.image
Class SpriteProcessorImpl
java.lang.Object
com.liferay.portal.image.SpriteProcessorImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.image.SpriteProcessor
public class SpriteProcessorImpl
- extends Object
- implements com.liferay.portal.kernel.image.SpriteProcessor
| Fields inherited from interface com.liferay.portal.kernel.image.SpriteProcessor |
PATH |
|
Method Summary |
protected RenderedImage |
convert(RenderedImage renderedImage)
|
protected RenderedImage |
createRenderedImage(RenderedImage renderedImage,
int height,
int width,
DataBuffer dataBuffer)
|
Properties |
generate(javax.servlet.ServletContext servletContext,
List<URL> imageURLs,
String spriteRootDirName,
String spriteFileName,
String spritePropertiesFileName,
String rootPath,
int maxHeight,
int maxWidth,
int maxSize)
|
protected void |
printImage(RenderedImage renderedImage)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpriteProcessorImpl
public SpriteProcessorImpl()
generate
public Properties generate(javax.servlet.ServletContext servletContext,
List<URL> imageURLs,
String spriteRootDirName,
String spriteFileName,
String spritePropertiesFileName,
String rootPath,
int maxHeight,
int maxWidth,
int maxSize)
throws IOException
- Specified by:
generate in interface com.liferay.portal.kernel.image.SpriteProcessor
- Throws:
IOException
convert
protected RenderedImage convert(RenderedImage renderedImage)
throws Exception
- Throws:
Exception
createRenderedImage
protected RenderedImage createRenderedImage(RenderedImage renderedImage,
int height,
int width,
DataBuffer dataBuffer)
printImage
protected void printImage(RenderedImage renderedImage)