public final class Dash extends java.lang.Object implements StringFormat
Under
Constructor and Description |
---|
Dash() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.lang.String sValue)
Publicly available method to transform a string into a dashed representation of it, good to be
used in rewritten URLs.
|
java.lang.String |
format(java.lang.String sTag,
java.lang.String sOption,
java.lang.String sValue)
Dashify a string (leave all the letters and digits, everything else is colapsed into '-')
|
public java.lang.String format(java.lang.String sTag, java.lang.String sOption, java.lang.String sValue)
format
in interface StringFormat
sTag
- ignoredsOption
- always "dash"sValue
- original stringpublic static final java.lang.String format(java.lang.String sValue)
sValue
- string to format