View Javadoc

    1   package baseCode.util;
    2
    3   /***
    4    * Prints status info to stderr
    5    * <hr>
    6    * <p>
    7    * Copyright (c) 2004 Columbia University
    8    *
    9    * @author Paul Pavlidis
    10   * @version $Id: StatusStderr.java,v 1.6 2004/10/13 21:58:46 pavlidis Exp $
    11   */
    12  public class StatusStderr implements StatusViewer {
    13
    14  	public StatusStderr () {}
    15
    16     public void setStatus( String s ) {
    17        if (s.equals("")) return;
    18        System.err.println( s );
    19     }
    20
    21     public void setError( String s ) {
    22        if (s.equals("")) return;
    23        System.err.println( "Error:" + s );
    24     }
    25
    26     public void clear() {
    27        // don't need to do anything.
    28     }
    29
    30  }