public class SpriteBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
SmartSpritesParameters |
parameters
This builder's configuration
|
| Constructor and Description |
|---|
SpriteBuilder(SmartSpritesParameters parameters,
MessageLog messageLog)
Creates a
SpriteBuilder with the provided parameters and log. |
SpriteBuilder(SmartSpritesParameters parameters,
MessageLog messageLog,
ResourceHandler resourceHandler)
Creates a
SpriteBuilder with the provided parameters and log. |
| Modifier and Type | Method and Description |
|---|---|
void |
buildSprites()
Performs processing for this builder's parameters.
|
void |
buildSprites(Collection<String> filePaths)
Performs processing from the list of file paths for this builder's parameters.
|
public final SmartSpritesParameters parameters
public SpriteBuilder(SmartSpritesParameters parameters, MessageLog messageLog)
SpriteBuilder with the provided parameters and log.public SpriteBuilder(SmartSpritesParameters parameters, MessageLog messageLog, ResourceHandler resourceHandler)
SpriteBuilder with the provided parameters and log.public void buildSprites()
throws FileNotFoundException,
IOException
FileNotFoundExceptionIOExceptionpublic void buildSprites(Collection<String> filePaths) throws FileNotFoundException, IOException
filePaths - paths of CSS files to process. Non-absolute paths will be taken
relative to the current working directory. Both platform-specific and
'/' as the file separator are supported.FileNotFoundExceptionIOExceptionCopyright © 2013 Carrot Search s.c.. All Rights Reserved.