Class StringUtils
- java.lang.Object
-
- org.apache.qpid.server.query.engine.parsing.utils.StringUtils
-
public final class StringUtils extends Object
Utility class containing string handling methods
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetClassName(Object object)Returns object class namestatic StringstripEnd(String str, String stripChars)Strips any of a set of characters from the end of a string.static StringstripStart(String str, String stripChars)Strips any of a set of characters from the start of a string.
-
-
-
Method Detail
-
getClassName
public static String getClassName(Object object)
Returns object class name- Parameters:
object- Object to evaluate- Returns:
- Object class name or "null"
-
stripStart
public static String stripStart(String str, String stripChars)
Strips any of a set of characters from the start of a string.- Parameters:
str- String to remove characters from, may be nullstripChars- Characters to remove, null treated as whitespace- Returns:
- Stripped String
-
-