001/**
002 * Portions Copyright 2001 Sun Microsystems, Inc.
003 * Portions Copyright 1999-2001 Language Technologies Institute, 
004 * Carnegie Mellon University.
005 * All Rights Reserved.  Use is subject to license terms.
006 * 
007 * See the file "license.terms" for information on usage and
008 * redistribution of this file, and for a DISCLAIMER OF ALL 
009 * WARRANTIES.
010 */
011package com.sun.speech.freetts;
012
013import java.io.PrintWriter;
014
015/**
016 * Tags an object that can be dumped for debugging purposes.
017 */
018public interface Dumpable {
019
020    /**
021     * Dumps the object to a PrintWriter.
022     *
023     * @param pw the stream to send the output
024     * @param padding the number of spaces in the string
025     * @param title the title for the dump
026     */
027    void dump(PrintWriter pw, int padding, String title);
028}
029
030