//============================================================================== // tribble/io/DiagnosticWriterI.java //------------------------------------------------------------------------------ package tribble.io; // System imports import java.lang.String; // Local imports import tribble.io.DiagnosticOutputI; /******************************************************************************* * Interface for objects that write diagnostic messages (informational, warning, * and error messages) to a diagnostic output stream. * *

* This interface is used to implement any kind of object class that that is * capable of writing diagnostic messages (lines of text) to a diagnostic output * stream. * * @version $Revision: 1.1 $ $Date: 2003/01/25 18:31:13 $ * @since 2003-01-25 * @author * David R. Tribble, * david@tribble.com. *
* Copyright ©2003 by David R. Tribble, * all rights reserved. *
* Permission is granted to freely use and distribute this source code * provided that the original copyright and authorship notices remain * intact. * * @see DiagnosticOutputI */ public interface DiagnosticWriterI { // Identification /** Revision information. */ static final String REV = "@(#)tribble/io/DiagnosticWriterI.java $Revision: 1.1 $ $Date: 2003/01/25 18:31:13 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public methods /*************************************************************************** * Establish the output stream to which diagnostic messages (warning and * error messages) are written. * * @param out * The diagnostic output stream. * * @since 1.1, 2003-01-25 */ public void setOutput(DiagnosticOutputI out); } // End DiagnosticWriterI.java