| java.lang.Object nl.hippo.util.NameUtil
NameUtil | public class NameUtil (Code) | | |
Method Summary | |
public String | convertToValidBinaryFilename(String text) Change any character other than space, 0-9, A-Z, a-z and underscore to
an 'x'. | public String | convertToValidCaption(String text) Changes at, ampersand, dot, less than, greater than, backslash, slash,
question mark, single quote and double quote to an underscore.
Parameters: text - Text of which to convert characters. | public String | convertToValidName(String text) Change any character other than space, 0-9, A-Z, a-z and underscore to an
'x'. | public String | convertToValidNameLowerCase(String text) |
NameUtil | public NameUtil()(Code) | | |
convertToValidBinaryFilename | public String convertToValidBinaryFilename(String text)(Code) | | Change any character other than space, 0-9, A-Z, a-z and underscore to
an 'x'. Also convert space to an underscore. The extension is not
changed. The result will contain lowercase charaters only.
Parameters: text - Text of which to convert characters. The text with disallowed characters replaced by an 'x'. |
convertToValidCaption | public String convertToValidCaption(String text)(Code) | | Changes at, ampersand, dot, less than, greater than, backslash, slash,
question mark, single quote and double quote to an underscore.
Parameters: text - Text of which to convert characters. The text with disallowed characters replaced by an underscore. |
convertToValidName | public String convertToValidName(String text)(Code) | | Change any character other than space, 0-9, A-Z, a-z and underscore to an
'x'. Also convert space to an underscore.
Parameters: text - Text of which to convert characters. The text with disallowed characters replaced by an 'x'. |
|
|