AbstractOutputDevice.java :  » Database-Client » Henplus » henplus » Java Open Source

Java Open Source » Database Client » Henplus 
Henplus » henplus » AbstractOutputDevice.java
/*
 * This is free software, licensed under the Gnu Public License (GPL)
 * get a copy from <http://www.gnu.org/licenses/gpl.html>
 * $Id: AbstractOutputDevice.java,v 1.2 2005/03/24 13:57:45 hzeller Exp $
 * author: Henner Zeller <H.Zeller@acm.org>
 */
package henplus;

/**
 * An OutputDevice that does nothing.
 */
public abstract class AbstractOutputDevice implements OutputDevice {
    public void flush() { }
    public void write(byte[] buffer, int off, int len) { }
    public void print(String s) { }
    public void println(String s) { }
    public void println() { }

    public void attributeBold() { }
    public void attributeReset() { }
    public void attributeGrey() { }

    public void close() { }
    public boolean isTerminal() { return false; }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.