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
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 |
StrStr
public StrStr()
format
public static String format(String s,
int w)
- static function to format a string into a fixed-width string
- Parameters:
s
- string to formatw
- width of the field- Returns:
- the formatted string
The LCD Group