1 /*** 2 * Copyright 2004 Steven Caswell 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.mungoknotwise.sqlcli; 17 18 import java.io.PrintStream; 19 20 /*** 21 * Defines operations for adding and removing print streams for an object to 22 * print to. 23 * 24 * @author Steven Caswell 25 * @version $Id: PrintStreamed.java,v 1.1.1.1 2004/07/28 01:12:38 mungoknotwise Exp $ 26 */ 27 public interface PrintStreamed 28 { 29 /*** 30 * Adds the specified print stream to this object's print streams. 31 * 32 * @param printStream the print stream to be added 33 */ 34 public void addPrintStream(PrintStream printStream); 35 36 /*** 37 * Removes the specified print stream to this object's print streams. 38 * 39 * @param printStream the print stream to be added 40 */ 41 public void removePrintStream(PrintStream printStream); 42 }