public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCharEntity(int i,
StringBuilder sb)
Convert integer to char entity
|
static boolean |
isEmpty(String str)
Return true if the string is null or "".
|
static boolean |
isNotEmpty(String str)
Return true if the string is not null and not == "".
|
static boolean |
parseBool(String boolStringValue) |
static double |
parseDouble(String doubleStringValue) |
static int |
parseInt(String intStringValue) |
static String |
sanitizeString(String string)
Sanitize strings for output
|
public static void addCharEntity(int i,
StringBuilder sb)
public static boolean isEmpty(String str)
str - public static boolean isNotEmpty(String str)
str - public static double parseDouble(String doubleStringValue)
public static int parseInt(String intStringValue)
public static boolean parseBool(String boolStringValue)
Copyright © 2016. All Rights Reserved.