org.rhq.core.domain.util
Class StringUtils

java.lang.Object
  extended by org.rhq.core.domain.util.StringUtils

public class StringUtils
extends Object


Constructor Summary
StringUtils()
           
 
Method Summary
static String deCamelCase(String target)
           
static String getListAsString(List<String> stringList, String seperatorFragment)
           
static List<String> getStringAsList(String input, String regexSplitter, boolean ignoreEmptyTokens)
           
static String useForwardSlash(String path)
          Ensure that the path uses only forward slash.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

deCamelCase

public static String deCamelCase(String target)

getStringAsList

public static List<String> getStringAsList(String input,
                                           String regexSplitter,
                                           boolean ignoreEmptyTokens)

getListAsString

public static String getListAsString(List<String> stringList,
                                     String seperatorFragment)

useForwardSlash

public static String useForwardSlash(String path)
Ensure that the path uses only forward slash.

Parameters:
path -
Returns:
forward-slashed path, or null if path is null


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