org.carrot2.util
Class StringUtils

java.lang.Object
  extended by org.carrot2.util.StringUtils

public final class StringUtils
extends Object

Provides a number of useful method operating on Strings that are not available in StringUtils.


Method Summary
static String identifierToHumanReadable(String string)
           
static String join(String delim, Object... objects)
          Join a list of non-null objects with delim and return it as a string.
static String removeHtmlTags(String string)
           
static String splitCamelCase(String camelCaseString)
           
static
<T> String
toString(Iterable<T> iterable, String separator)
           
static String urlEncodeWrapException(String string, String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toString

public static <T> String toString(Iterable<T> iterable,
                                  String separator)

splitCamelCase

public static String splitCamelCase(String camelCaseString)

urlEncodeWrapException

public static String urlEncodeWrapException(String string,
                                            String encoding)

removeHtmlTags

public static String removeHtmlTags(String string)

identifierToHumanReadable

public static String identifierToHumanReadable(String string)

join

public static String join(String delim,
                          Object... objects)
Join a list of non-null objects with delim and return it as a string.



Copyright (c) Dawid Weiss, Stanislaw Osinski