org.apache.myfaces.extensions.cdi.core.impl.util
Class StringUtils

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.impl.util.StringUtils

@Typed
public class StringUtils
extends Object

Helper for handling strings


Method Summary
static String replaceUpperCaseCharactersWithUnderscores(String baseKey)
          Replaces all upper-case characters of the given key with an underscore and the lower-case version of the character
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

replaceUpperCaseCharactersWithUnderscores

public static String replaceUpperCaseCharactersWithUnderscores(String baseKey)
Replaces all upper-case characters of the given key with an underscore and the lower-case version of the character

Parameters:
baseKey - current key
Returns:
the transformed version of the given key


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.