org.decisiondeck.utils
Class StringUtils
java.lang.Object
org.decisiondeck.utils.StringUtils
public class StringUtils
- extends Object
StringUtils
public StringUtils()
toString
public static String toString(Collection<?> collection,
int maxLen)
isInt
public static boolean isInt(String string)
getAsUTF8
public static String getAsUTF8(InputStream input)
throws IOException,
UnsupportedEncodingException
- Throws:
IOException
UnsupportedEncodingException
getWithFirstCap
public static String getWithFirstCap(String string)
- Retrieves a string that is the given string with a first upper case letter and the rest in lower case. The
ENGLISH locale is used.
- Parameters:
string - not null.
- Returns:
- not
null.
newByteArraysSupplier
public static ByteArraysSupplier newByteArraysSupplier()
Copyright © 2011. All Rights Reserved.