org.rhq.enterprise.gui.legacy.taglib.display
Class StringUtil

java.lang.Object
  extended by org.rhq.enterprise.gui.legacy.taglib.display.StringUtil

public class StringUtil
extends Object

One line description of what this class does. More detailed class description, including examples of usage if applicable.


Constructor Summary
StringUtil()
           
 
Method Summary
static String toUpperCaseAt(String oldString, int index)
          Replace character at given index with the same character to upper case
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

toUpperCaseAt

public static String toUpperCaseAt(String oldString,
                                   int index)
                            throws NullPointerException,
                                   StringIndexOutOfBoundsException
Replace character at given index with the same character to upper case

Parameters:
oldString - old string
index - of replacement
Returns:
String new string
Throws:
StringIndexOutOfBoundsException -  
NullPointerException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.