- getCanonicalOrAbsoluteFile(String) - Static method in class org.carrot2.util.FileUtils
-
- getColorReductionInfo(BufferedImage) - Static method in class org.carrot2.util.ColorQuantizer
-
- getCssFileEncoding() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getCssFiles() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getCssFileSuffix() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getDistictColors(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns the image's distinct colors in an RGB format, discarding
transparency information.
- getDistictColors(BufferedImage, int) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns the image's distinct colors in an RGB format, discarding
transparency information.
- getDocumentRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getFormattedMessage() - Method in class org.carrot2.labs.smartsprites.message.Message
-
- getInfoCount() - Method in class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
-
- getLogLevel() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getOutputDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getRelativeFilePath(String, String) - Static method in class org.carrot2.util.PathUtils
-
This method can calculate the relative path between two pathes on a file system.
- getRequiredHeight(BufferedImage, SpriteImageDirective.SpriteImageLayout) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Computes the minimum height the individual image will need when rendering.
- getRequiredWidth(BufferedImage, SpriteImageDirective.SpriteImageLayout) - Method in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
Computes the minimum width the individual image will need when rendering.
- getResourceAsInputStream(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
- getResourceAsInputStream(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the resource input stream for the provided path.
- getResourceAsOutputStream(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
- getResourceAsOutputStream(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the resource output stream for the provided path.
- getResourceAsReader(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
- getResourceAsReader(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the reader for the provided path.
- getResourceAsWriter(String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
- getResourceAsWriter(String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Returns the writer for the provided path.
- getResourcePath(String, String) - Method in class org.carrot2.labs.smartsprites.resource.FileSystemResourceHandler
-
- getResourcePath(String, String) - Method in interface org.carrot2.labs.smartsprites.resource.ResourceHandler
-
Builds a resource path relative to a CSS file resource path.
- getRgb(BufferedImage) - Static method in class org.carrot2.util.BufferedImageUtils
-
Returns a two dimensional array of the image's RGB values, including
transparency.
- getRootDir() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getRootDirFile() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getSpritePngDepth() - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
- getText() - Method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns a human readable version of this message.
- getValue(Map<String, CssProperty>, String) - Static method in class org.carrot2.labs.smartsprites.css.CssSyntaxUtils
-
Returns the value of a CSS property if it exists, null otherwise.
- getValue(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
- getValue(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
- getWarnCount() - Method in class org.carrot2.labs.smartsprites.message.LevelCounterMessageSink
-
- scaleRatio - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The scale to apply to the final sprite's background-size.
- scaleRatio - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Scaling ratio to apply to background; default is 1.
- setCssFile(String) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
- setCssFileEncoding(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setCssFileSuffix(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setDocumentRootDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setFailOnLevel(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setLine(int) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Sets current CSS line for this log.
- setLogLevel(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setOutputDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setRootDir(File) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setSpritePngDepth(String) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- setSpritePngIe6(boolean) - Method in class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- SmartSprites - Class in org.carrot2.labs.smartsprites
-
The entry class for SmartSprites.
- SmartSprites() - Constructor for class org.carrot2.labs.smartsprites.SmartSprites
-
- SmartSpritesParameters - Class in org.carrot2.labs.smartsprites
-
Contains invocation parameters for SmartSprites, provides methods for validating the
parameters.
- SmartSpritesParameters() - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters with default options and null root dir, before root dir is
set, the parameters are invalid.
- SmartSpritesParameters(String) - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters with most default values.
- SmartSpritesParameters(String, List<String>, String, String, Message.MessageLevel, String, SmartSpritesParameters.PngDepth, boolean, String) - Constructor for class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Creates the parameters.
- SmartSpritesParameters.PngDepth - Enum in org.carrot2.labs.smartsprites
-
- SmartSpritesTask - Class in org.carrot2.labs.smartsprites.ant
-
Ant task for calling SmartSprites processing.
- SmartSpritesTask() - Constructor for class org.carrot2.labs.smartsprites.ant.SmartSpritesTask
-
- sprite - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The rendered sprite image bitmap
- SpriteBuilder - Class in org.carrot2.labs.smartsprites
-
Performs all stages of sprite building.
- SpriteBuilder(SmartSpritesParameters, MessageLog) - Constructor for class org.carrot2.labs.smartsprites.SpriteBuilder
-
- SpriteBuilder(SmartSpritesParameters, MessageLog, ResourceHandler) - Constructor for class org.carrot2.labs.smartsprites.SpriteBuilder
-
- SpriteDirectiveOccurrence - Class in org.carrot2.labs.smartsprites
-
A base class for SmartSprites directives.
- SpriteDirectiveOccurrence(String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteDirectiveOccurrence
-
- SpriteDirectiveOccurrenceCollector - Class in org.carrot2.labs.smartsprites
-
Methods for collecting SmartSprites directives from CSS files.
- spriteHeight - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The height of the final sprite.
- spriteId - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Unique identified of this sprite.
- SpriteImage - Class in org.carrot2.labs.smartsprites
-
A merged sprite image consisting of a number of individual images.
- SpriteImage(BufferedImage, SpriteImageOccurrence, Map<SpriteReferenceOccurrence, SpriteReferenceReplacement>, int, int, float) - Constructor for class org.carrot2.labs.smartsprites.SpriteImage
-
- spriteImage - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Properties of the sprite image this replacement refers to
- SpriteImageBuilder - Class in org.carrot2.labs.smartsprites
-
Lays out and builds sprite images based on the collected SmartSprites directives.
- SpriteImageDirective - Class in org.carrot2.labs.smartsprites
-
Represents a directive that declares an individual sprite image.
- SpriteImageDirective(String, String, SpriteImageDirective.SpriteImageLayout, SpriteImageDirective.SpriteImageFormat, SpriteImageDirective.Ie6Mode, Color, SpriteImageDirective.SpriteUidType, float) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageDirective
-
- SpriteImageDirective(String, String, SpriteImageDirective.SpriteImageLayout, SpriteImageDirective.SpriteImageFormat, SpriteImageDirective.Ie6Mode, Color, SpriteImageDirective.SpriteUidType, float, SpriteLayoutProperties) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageDirective
-
- spriteImageDirective - Variable in class org.carrot2.labs.smartsprites.SpriteImageOccurrence
-
- SpriteImageDirective.Ie6Mode - Enum in org.carrot2.labs.smartsprites
-
Defines supported IE6 support options.
- SpriteImageDirective.SpriteImageFormat - Enum in org.carrot2.labs.smartsprites
-
Defines supported image file formats.
- SpriteImageDirective.SpriteImageLayout - Enum in org.carrot2.labs.smartsprites
-
Defines the layout of this sprite.
- SpriteImageDirective.SpriteUidType - Enum in org.carrot2.labs.smartsprites
-
Defines the UID Generation Mode of this sprite.
- spriteImageOccurrence - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
- SpriteImageOccurrence - Class in org.carrot2.labs.smartsprites
-
- SpriteImageOccurrence(SpriteImageDirective, String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteImageOccurrence
-
- SpriteImageRenderer - Class in org.carrot2.labs.smartsprites
-
Applies color quantization to the merged sprite image if required.
- spriteLayoutProperties - Variable in class org.carrot2.labs.smartsprites.SpriteImageDirective
-
Sprite layout properties defined at the sprite image directive level.
- SpriteLayoutProperties - Class in org.carrot2.labs.smartsprites
-
- SpriteLayoutProperties(SpriteLayoutProperties.SpriteAlignment, int, int, int, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteLayoutProperties
-
- spriteLayoutProperties - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Sprite layout properties defined at sprite reference level.
- SpriteLayoutProperties.SpriteAlignment - Enum in org.carrot2.labs.smartsprites
-
Alignment of the individual image within the sprite image.
- spriteRef - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
Sprite id for this individual image
- SpriteReferenceDirective - Class in org.carrot2.labs.smartsprites
-
Represents a directive that adds an individual image to a sprite image.
- SpriteReferenceDirective(String, SpriteLayoutProperties) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceDirective
-
- spriteReferenceDirective - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
The directive
- SpriteReferenceOccurrence - Class in org.carrot2.labs.smartsprites
-
- SpriteReferenceOccurrence(SpriteReferenceDirective, String, String, int, boolean) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceOccurrence
-
- spriteReferenceOccurrence - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
- SpriteReferenceReplacement - Class in org.carrot2.labs.smartsprites
-
- SpriteReferenceReplacement(SpriteReferenceOccurrence, int, String) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
- SpriteReferenceReplacement(SpriteReferenceOccurrence, String, int) - Constructor for class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
- spriteReferenceReplacements - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
- spriteWidth - Variable in class org.carrot2.labs.smartsprites.SpriteImage
-
The width of the final sprite.
- status(Message.MessageType, Object...) - Method in class org.carrot2.labs.smartsprites.message.MessageLog
-
Logs a status message to this log.
- validate(MessageLog) - Method in class org.carrot2.labs.smartsprites.SmartSpritesParameters
-
Validates the provided parameters.
- value - Variable in class org.carrot2.labs.smartsprites.css.CssProperty
-
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.Ie6Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Returns the enum constant of this type with the specified name.
- valueOf(String, Class<T>, T) - Static method in class org.carrot2.util.EnumUtils
-
Returns the enum instance corresponding to the provided name or
defaultValue if no enum value corresponds to name.
- values() - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.message.Message.MessageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SmartSpritesParameters.PngDepth
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.Ie6Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.Ie6Mode
-
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageFormat
-
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteImageLayout
-
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteImageDirective.SpriteUidType
-
- valuesAsString() - Static method in enum org.carrot2.labs.smartsprites.SpriteLayoutProperties.SpriteAlignment
-
- verticalPosition - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
Numeric representation of the vertical position of this sprite replacement
- verticalPositionString - Variable in class org.carrot2.labs.smartsprites.SpriteReferenceReplacement
-
String representation of the vertical position of this sprite replacement