datum API Documentation

datum.util
Class Util

java.lang.Object
  |
  +--datum.util.Util

public abstract class Util
extends Object


Field Summary
static boolean verbose
           
 
Constructor Summary
Util()
           
 
Method Summary
static String[] filterKeys(Hashtable h, String filter, boolean prefix)
           
static boolean getBoolean(String s, boolean nullDefault)
           
static String getDescription(Class c)
           
static String getDescription(Package p)
           
static String getLongestString(Object[] a)
           
static String makeList(Object[] a)
           
static BufferedWriter openLog(Component display)
           
static void printError(Exception e)
           
static void printError(String s)
           
static void printError(String s, Exception e)
           
static void printHeader(Class c)
           
static String removeExtension(String s)
           
static void saveEPS(Component display)
           
static void saveGIF(Component display)
           
static String trimString(String s, int maxLength)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

public static boolean verbose
Constructor Detail

Util

public Util()
Method Detail

getBoolean

public static boolean getBoolean(String s,
                                 boolean nullDefault)

removeExtension

public static String removeExtension(String s)

openLog

public static BufferedWriter openLog(Component display)

saveGIF

public static void saveGIF(Component display)

saveEPS

public static void saveEPS(Component display)

getLongestString

public static String getLongestString(Object[] a)

trimString

public static String trimString(String s,
                                int maxLength)

makeList

public static String makeList(Object[] a)

printError

public static void printError(Exception e)

printError

public static void printError(String s)

printError

public static void printError(String s,
                              Exception e)

printHeader

public static void printHeader(Class c)

getDescription

public static String getDescription(Class c)

getDescription

public static String getDescription(Package p)

filterKeys

public static String[] filterKeys(Hashtable h,
                                  String filter,
                                  boolean prefix)

Up to datum