Package org.apache.cxf.common.util
Class StringUtils
java.lang.Object
org.apache.cxf.common.util.StringUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
addDefaultPortIfMissing
(String urlString) static String
addDefaultPortIfMissing
(String urlString, String defaultPort) static String
capitalize
(String name) Return input string with first character in upper case.static String
static String
getFirstFound
(String contents, String regex) static boolean
static boolean
notEmpty()
static String
static String
static byte[]
static byte[]
toBytesASCII
(String str) static byte[]
toBytesUTF8
(String str) static String
toHexString
(byte[] bytes) static String
uncapitalize
(String str)
-
Method Details
-
isEmpty
-
notEmpty
-
isEmpty
-
diff
-
getFirstFound
-
addDefaultPortIfMissing
-
addDefaultPortIfMissing
-
capitalize
Return input string with first character in upper case.- Parameters:
name
- input string.- Returns:
- capitalized form.
-
uncapitalize
-
toBytesUTF8
-
toBytesASCII
-
toBytes
-
toHexString
-
periodToSlashes
-
slashesToPeriod
-