|
Class calypso.util.StringUtils
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
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
public StringUtils()
Default constructor
Methods
public static String UpperCase(String aString)
Uppercase the characters in aString.
public static String LowerCase(String aString)
Lowercase the characters in aString.
public static boolean IsWhitespace(String aString)
Return true if the string buffer contains nothing but whitespace
as defined by Character.isWhitespace()
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.
public static String CompressWhitespace(String aString,
boolean aLeading)
Compress the whitespace out of a string and return a new string
public static String JavaQuote(String aString,
boolean aProvideOuterQuotes)
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
|