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
-
DebugOutput(GenealogyDB)
- Constructs a new debug output object for the specified database.
-
printFamilies()
- Prints debug information about all the families in the database.
-
printLog(Hashtable)
- Prints the contents of a date-change log.
-
printPeople()
- Prints debug information about all the people in the database.
-
printPerson(String)
- Prints information about a specified person.
DebugOutput
public DebugOutput(GenealogyDB database)
- Constructs a new debug output object for the specified database.
- Parameters:
- database - The database to use
printPeople
public void printPeople()
- Prints debug information about all the people in the database.
printFamilies
public void printFamilies()
- Prints debug information about all the families in the database.
printPerson
public void printPerson(String id)
- Prints information about a specified person.
- Parameters:
- id - the ID of the person to print information about
printLog
public static void printLog(Hashtable log)
- Prints the contents of a date-change log.
- Parameters:
- log - a hashtable containing the log to print