DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab.integrity
Class Utils

java.lang.Object
  extended by org.dlese.dpc.schemedit.vocab.integrity.Utils

public class Utils
extends Object

Command line routine that checks fields files for well-formedness, and ensures that the xpaths associated with the field files exist within the given metadata framework.

Version:
$Id: Utils.java,v 1.4 2009/03/20 23:33:58 jweather Exp $
Author:
ostwald

$Id: Utils.java,v 1.4 2009/03/20 23:33:58 jweather Exp $


Field Summary
static String DEFAULT_LINE_CHAR
           
static int DEFAULT_LINE_WIDTH
           
static String NL
           
static String TAB
           
 
Constructor Summary
Utils()
           
 
Method Summary
static String box(String s)
           
static String box(String s, String line_ch)
           
static String comment(String s)
           
static String expandTabs(String s)
           
static SchemaHelper getSchemaHelper(URI schemaUri)
           
static String getTimeStamp()
           
static String line()
           
static String line(int width)
           
static String line(int width, String ch)
           
static String line(String ch)
           
static void main(String[] args)
           
static String overline(String s)
           
static String pad(String s, int len)
           
static void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
static String underline(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LINE_WIDTH

public static int DEFAULT_LINE_WIDTH

DEFAULT_LINE_CHAR

public static String DEFAULT_LINE_CHAR

NL

public static String NL

TAB

public static String TAB
Constructor Detail

Utils

public Utils()
Method Detail

getSchemaHelper

public static SchemaHelper getSchemaHelper(URI schemaUri)
                                    throws Exception
Throws:
Exception

prtln

public static void prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true.

Parameters:
s - The String that will be output.

getTimeStamp

public static String getTimeStamp()

line

public static String line()

line

public static String line(String ch)

line

public static String line(int width)

line

public static String line(int width,
                          String ch)

underline

public static String underline(String s)

overline

public static String overline(String s)

expandTabs

public static String expandTabs(String s)

pad

public static String pad(String s,
                         int len)

main

public static void main(String[] args)

box

public static String box(String s,
                         String line_ch)

box

public static String box(String s)

comment

public static String comment(String s)

DLESE Tools
v1.6.0