gnu.lists
Class Strings

java.lang.Object
  extended by gnu.lists.Strings

public class Strings
extends java.lang.Object

Various static utility methods for general strings (CharSeqs).


Constructor Summary
Strings()
           
 
Method Summary
static void makeCapitalize(CharSeq str)
          Capitalize this string.
static void makeLowerCase(CharSeq str)
          Change every character to be lowercase.
static void makeUpperCase(CharSeq str)
          Change every character to be uppercase.
static void printQuoted(java.lang.CharSequence str, java.io.PrintWriter ps, int escapes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strings

public Strings()
Method Detail

makeUpperCase

public static void makeUpperCase(CharSeq str)
Change every character to be uppercase.


makeLowerCase

public static void makeLowerCase(CharSeq str)
Change every character to be lowercase.


makeCapitalize

public static void makeCapitalize(CharSeq str)
Capitalize this string. Change first character of each word to titlecase, and change the other characters to lowercase.


printQuoted

public static void printQuoted(java.lang.CharSequence str,
                               java.io.PrintWriter ps,
                               int escapes)