hep.lcd.contrib.util
Class StrStr

java.lang.Object
  |
  +--hep.lcd.contrib.util.StrStr

public class StrStr
extends Object

A class to pad a string out to a certain width.

Version:
1.0
Author:
David Wagner
Source Code:
StrStr.java

Constructor Summary
StrStr()
           
 
Method Summary
static String format(String s, int w)
          static function to format a string into a fixed-width string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrStr

public StrStr()
Method Detail

format

public static String format(String s,
                            int w)
static function to format a string into a fixed-width string
Parameters:
s - string to format
w - width of the field
Returns:
the formatted string


The LCD Group