Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

StringUtil Class Reference

List of all members.

Static Public Methods

String padLeft (String s, int length)
String padRight (String s, int length)

Detailed Description

Provides some useful methods which act on strings.

Definition at line 73 of file StringUtil.java.


Member Function Documentation

String StringUtil::padLeft String   s,
int   length
[inline, static]
 

Pads the string on the left with blanks to force it to be a certain size.

Parameters:
length   the desired final length of the string

Definition at line 82 of file StringUtil.java.

String StringUtil::padRight String   s,
int   length
[inline, static]
 

Pads the string on the right with blanks to force it to be a certain size.

Parameters:
length   the desired final length of the string

Definition at line 103 of file StringUtil.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:22:14 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001