All Packages This Package Class Hierarchy Class Search Index
Class calypso.util.StringUtils
java.lang.Object | +----calypso.util.StringUtils
public class StringUtils extends java.lang.Object { // Fields 1 static char[] hex; // Constructors 1 public StringUtils(); // Methods 6 public static String CompressWhitespace(String, boolean); public static boolean IsWhitespace(String); public static String JavaQuote(String, boolean); public static String LowerCase(String); public static String ToHex(int, int); public static String UpperCase(String); }
Fields
hex
static char[] hex
Quote a string using java source file rules. The result is a new string with all the appropriate data quoted. The outer quotes that would be required in a java source file are not provided by this routine unless aProvideOuterQuotes is true.
Constructors
StringUtils
public StringUtils()
Default constructor
Methods
UpperCase
public static String UpperCase(String aString)
Uppercase the characters in aString.
LowerCase
public static String LowerCase(String aString)
Lowercase the characters in aString.
IsWhitespace
public static boolean IsWhitespace(String aString)
Return true if the string buffer contains nothing but whitespace as defined by Character.isWhitespace()
ToHex
public static String ToHex(int i, int aDigits)
Translate an integer into a string that is at least aDigits wide. Pad with zeros if necessary.
CompressWhitespace
public static String CompressWhitespace(String aString, boolean aLeading)
Compress the whitespace out of a string and return a new string
JavaQuote
public static String JavaQuote(String aString, boolean aProvideOuterQuotes)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4