|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.GDSStringUtil
public class GDSStringUtil
String utility class.
| Constructor Summary | |
|---|---|
GDSStringUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
consistsOf(java.lang.String data,
java.lang.String chars)
Tests to see if a string consists solely of specified characters. |
static java.lang.String |
fixLength(java.lang.String data,
int length)
Pads a string with blank spaces up to a specified length. |
static java.lang.String |
getSeparator(java.lang.String sep,
int len)
Returns a string consisting of a repeated pattern of the specified separator up to the specified length. |
static java.lang.String |
sprintf(java.lang.String format,
java.lang.Object... args)
A sprintf method implementation. |
java.lang.String |
toString()
Returns a string representation of this class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GDSStringUtil()
| Method Detail |
|---|
public static boolean consistsOf(java.lang.String data,
java.lang.String chars)
data - The string to test.chars - A string of valid characters.
public static java.lang.String fixLength(java.lang.String data,
int length)
data - The string to extend.length - The required length of the string.
public static java.lang.String getSeparator(java.lang.String sep,
int len)
sep - The separator to repeat.len - The maximum length of the result.
public static java.lang.String sprintf(java.lang.String format,
java.lang.Object... args)
sprintf method implementation.
format - The format control stringargs - The format token values
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||