Bibi
19 Oct 2005 21:04

ujap.util
Class StringUtils

java.lang.Object
  extended byujap.util.StringUtils

public final class StringUtils
extends Object

Author:
Ute Platzer

Field Summary
private static String[] STRING
           
 
Constructor Summary
StringUtils()
           
 
Method Summary
static String[] lineBreak(String text, int length)
          return an array of strings with max-length as specified, containing each one line from the input text
static String lineBreak(String text, String breakText, int length)
          break given text at spaces into lines of max.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING

private static final String[] STRING
Constructor Detail

StringUtils

public StringUtils()
Method Detail

lineBreak

public static final String lineBreak(String text,
                                     String breakText,
                                     int length)
break given text at spaces into lines of max. the given length, using breakText as the separator (e.g. "
" in html).


lineBreak

public static final String[] lineBreak(String text,
                                       int length)
return an array of strings with max-length as specified, containing each one line from the input text


Bibi
19 Oct 2005 21:04

Copyright ? 2002-2005 Ute Platzer. All Rights Reserved.