Liferay 6.0.5

com.liferay.portal.image
Class SpriteProcessorImpl

java.lang.Object
  extended by com.liferay.portal.image.SpriteProcessorImpl
All Implemented Interfaces:
SpriteProcessor

public class SpriteProcessorImpl
extends Object
implements SpriteProcessor


Constructor Summary
SpriteProcessorImpl()
           
 
Method Summary
protected  RenderedImage convert(RenderedImage renderedImage)
           
protected  RenderedImage createRenderedImage(RenderedImage renderedImage, int height, int width, DataBuffer dataBuffer)
           
 Properties generate(List<File> images, String spriteFileName, String spritePropertiesFileName, String spritePropertiesRootPath, 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
 

Constructor Detail

SpriteProcessorImpl

public SpriteProcessorImpl()
Method Detail

generate

public Properties generate(List<File> images,
                           String spriteFileName,
                           String spritePropertiesFileName,
                           String spritePropertiesRootPath,
                           int maxHeight,
                           int maxWidth,
                           int maxSize)
                    throws IOException
Specified by:
generate in interface 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)

Liferay 6.0.5