ch.systemsx.cisd.openbis.dss.generic.shared.utils
Class CodeAndLabelUtil

java.lang.Object
  extended by ch.systemsx.cisd.openbis.dss.generic.shared.utils.CodeAndLabelUtil

public class CodeAndLabelUtil
extends java.lang.Object

Utility class to operate on codes and labels.


Constructor Summary
CodeAndLabelUtil()
           
 
Method Summary
static ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeAndLabel create(java.lang.String labelWithOptionalCode)
          Creates an instance from specified label with optional code prefix in form of <code>.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeAndLabelUtil

public CodeAndLabelUtil()
Method Detail

create

public static ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeAndLabel create(java.lang.String labelWithOptionalCode)
Creates an instance from specified label with optional code prefix in form of <code>. The code will be normalized.