public class Utils
extends java.lang.Object
$Id: Utils.java,v 1.4 2009/03/20 23:33:58 jweather Exp $
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_LINE_CHAR |
static int |
DEFAULT_LINE_WIDTH |
static java.lang.String |
NL |
static java.lang.String |
TAB |
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
box(java.lang.String s) |
static java.lang.String |
box(java.lang.String s,
java.lang.String line_ch) |
static java.lang.String |
comment(java.lang.String s) |
static java.lang.String |
expandTabs(java.lang.String s) |
static SchemaHelper |
getSchemaHelper(java.net.URI schemaUri) |
static java.lang.String |
getTimeStamp() |
static java.lang.String |
line() |
static java.lang.String |
line(int width) |
static java.lang.String |
line(int width,
java.lang.String ch) |
static java.lang.String |
line(java.lang.String ch) |
static void |
main(java.lang.String[] args) |
static java.lang.String |
overline(java.lang.String s) |
static java.lang.String |
pad(java.lang.String s,
int len) |
static void |
prtln(java.lang.String s)
Output a line of text to standard out, with datestamp, if debug is set to true.
|
static java.lang.String |
underline(java.lang.String s) |
public static int DEFAULT_LINE_WIDTH
public static java.lang.String DEFAULT_LINE_CHAR
public static java.lang.String NL
public static java.lang.String TAB
public static SchemaHelper getSchemaHelper(java.net.URI schemaUri) throws java.lang.Exception
java.lang.Exception
public static void prtln(java.lang.String s)
s
- The String that will be output.public static java.lang.String getTimeStamp()
public static java.lang.String line()
public static java.lang.String line(java.lang.String ch)
public static java.lang.String line(int width)
public static java.lang.String line(int width, java.lang.String ch)
public static java.lang.String underline(java.lang.String s)
public static java.lang.String overline(java.lang.String s)
public static java.lang.String expandTabs(java.lang.String s)
public static java.lang.String pad(java.lang.String s, int len)
public static void main(java.lang.String[] args)
public static java.lang.String box(java.lang.String s, java.lang.String line_ch)
public static java.lang.String box(java.lang.String s)
public static java.lang.String comment(java.lang.String s)