upstream version 1.2.2
[debian/freetts] / com / sun / speech / freetts / Dumpable.java
1 /**
2  * Portions Copyright 2001 Sun Microsystems, Inc.
3  * Portions Copyright 1999-2001 Language Technologies Institute, 
4  * Carnegie Mellon University.
5  * All Rights Reserved.  Use is subject to license terms.
6  * 
7  * See the file "license.terms" for information on usage and
8  * redistribution of this file, and for a DISCLAIMER OF ALL 
9  * WARRANTIES.
10  */
11 package com.sun.speech.freetts;
12
13 import java.io.PrintWriter;
14
15 /**
16  * Tags an object that can be dumped for debugging purposes.
17  */
18 public interface Dumpable {
19
20     /**
21      * Dumps the object to a PrintWriter.
22      *
23      * @param pw the stream to send the output
24      * @param padding the number of spaces in the string
25      * @param title the title for the dump
26      */
27     public void dump(PrintWriter pw, int padding, String title);
28 }
29
30