public class CssNameConverter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CssNameConverter.Failure
Thrown by
convertSet(Set) on name collision. |
Constructor and Description |
---|
CssNameConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convertName(String className) |
Map<String,String> |
convertSet(Set<String> classNames) |
public String convertName(String className)
className
- a css class namepublic Map<String,String> convertSet(Set<String> classNames) throws CssNameConverter.Failure
classNames
- css class names to convertCssNameConverter.Failure
- on collisions due to conversionsCopyright © 2018. All rights reserved.