java.lang.Object
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 Details

    • 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 Details

    • Utils

      public Utils()
  • Method Details

    • 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)