Package com.drew.lang
Class StringUtil
- java.lang.Object
-
- com.drew.lang.StringUtil
-
public final class StringUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
compare(java.lang.String s1, java.lang.String s2)
static java.lang.String
fromStream(java.io.InputStream stream)
static java.lang.String
join(java.lang.Iterable<? extends java.lang.CharSequence> strings, java.lang.String delimiter)
static <T extends java.lang.CharSequence>
java.lang.Stringjoin(T[] strings, java.lang.String delimiter)
static java.lang.String
urlEncode(java.lang.String name)
-
-
-
Method Detail
-
join
public static java.lang.String join(java.lang.Iterable<? extends java.lang.CharSequence> strings, java.lang.String delimiter)
-
join
public static <T extends java.lang.CharSequence> java.lang.String join(T[] strings, java.lang.String delimiter)
-
fromStream
public static java.lang.String fromStream(java.io.InputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
compare
public static int compare(java.lang.String s1, java.lang.String s2)
-
urlEncode
public static java.lang.String urlEncode(java.lang.String name)
-
-