Java Access to WordNet

danbikel.wordnet
Class Debug

java.lang.Object
  |
  +--danbikel.wordnet.Debug
All Implemented Interfaces:
Serializable

public class Debug
extends Object
implements Serializable

Debug is a static class that stores the current debugging level (default is zero, for no debugging output), debugging options, and other utility functions for debugging. Its main function also allows the use of BeanShell to perform on-the-fly debugging tests.

See Also:
Serialized Form

Field Summary
static int counter
           
static int level
           
static String options
           
 
Constructor Summary
Debug()
           
 
Method Summary
static void fillStringArray(String[] arr, String filler)
           
static int getLevel()
           
static String getOptions()
           
static void main(String[] args)
           
static void setLevel(int newLevel)
           
static void setOptions(String newOptions)
           
static void setOutputStream(PrintStream err)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

public static int level

options

public static String options

counter

public static int counter
Constructor Detail

Debug

public Debug()
Method Detail

setOutputStream

public static void setOutputStream(PrintStream err)

fillStringArray

public static void fillStringArray(String[] arr,
                                   String filler)

main

public static void main(String[] args)

getLevel

public static int getLevel()

setLevel

public static void setLevel(int newLevel)

getOptions

public static String getOptions()

setOptions

public static void setOptions(String newOptions)

Java Access to WordNet

Author: Dan Bikel