ru.tehkode.utils
Class StringUtils

java.lang.Object
  extended by ru.tehkode.utils.StringUtils

public class StringUtils
extends Object


Constructor Summary
StringUtils()
           
 
Method Summary
static String implode(List<?> list, String separator)
           
static String implode(String[] array, String separator)
           
static String readStream(InputStream is)
           
static String repeat(String str, int times)
           
static int toInteger(String value, int defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

implode

public static String implode(String[] array,
                             String separator)

implode

public static String implode(List<?> list,
                             String separator)

readStream

public static String readStream(InputStream is)
                         throws Exception
Throws:
Exception

repeat

public static String repeat(String str,
                            int times)

toInteger

public static int toInteger(String value,
                            int defaultValue)


Copyright © 2011. All Rights Reserved.