Class DebugOutput

java.lang.Object
   |
   +----DebugOutput

public class DebugOutput
extends Object
This class can print useful debug information from a given database.

Author:
Vegard Brox

Constructor Index

 o DebugOutput(GenealogyDB)
Constructs a new debug output object for the specified database.

Method Index

 o printFamilies()
Prints debug information about all the families in the database.
 o printLog(Hashtable)
Prints the contents of a date-change log.
 o printPeople()
Prints debug information about all the people in the database.
 o printPerson(String)
Prints information about a specified person.

Constructors

 o DebugOutput
 public DebugOutput(GenealogyDB database)
Constructs a new debug output object for the specified database.

Parameters:
database - The database to use

Methods

 o printPeople
 public void printPeople()
Prints debug information about all the people in the database.

 o printFamilies
 public void printFamilies()
Prints debug information about all the families in the database.

 o printPerson
 public void printPerson(String id)
Prints information about a specified person.

Parameters:
id - the ID of the person to print information about
 o printLog
 public static void printLog(Hashtable log)
Prints the contents of a date-change log.

Parameters:
log - a hashtable containing the log to print