public class CssSpriteProvider extends AbstractSpriteProvider
This SpriteProvider
generates CSS code to represent the sprites.
Constructor and Description |
---|
CssSpriteProvider() |
Modifier and Type | Method and Description |
---|---|
ConvertibleNut |
getSprite(String workflowId,
UrlProvider urlProvider,
String nutNameSuffix,
List<ConvertibleNut> originals)
|
addRegion, convertAllowedName, getImage, getRegions, init
public ConvertibleNut getSprite(String workflowId, UrlProvider urlProvider, String nutNameSuffix, List<ConvertibleNut> originals) throws IOException
Get the sprite of all the added images in a map associating
a NutType
as key a Nut
as value.
Each sprite is in a path associated to a supported
NutType
which helps
to determinate the language used to represent them.
workflowId
- the workflow IDurlProvider
- the UrlProvider
nutNameSuffix
- the prefix to append to the sprite nut nameoriginals
- the original nutsIOException
- if an I/O error occurs while aggregating imagesCopyright © 2012-2015. All Rights Reserved.