Class CodeNormalizer
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.CodeNormalizer
-
public class CodeNormalizer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CodeNormalizer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodeAndLabel
create(java.lang.String code, java.lang.String label)
static java.lang.String
normalize(java.lang.String code)
Normalizes the specified code.
-
-
-
Method Detail
-
create
public static CodeAndLabel create(java.lang.String code, java.lang.String label)
-
normalize
public static java.lang.String normalize(java.lang.String code)
Normalizes the specified code. That is lower-case characters are turned to upper case and any symbol which isn't from A-Z, 0-9 or '-' is replaced by an underscore character.
-
-