Interface OutputInterface

All Known Implementing Classes:
GUILoginConsole, GUIShellConsole, JunoTerminal, RemoteConsole

public interface OutputInterface

All Juno consoles use the same abstract methods for output, so they are specified here.


Method Summary
 void errPrintln(String str)
          Write a String followed by a newline to console error output location.
 boolean isEchoInput()
          Query what kind of console this is.
 boolean isGUI()
          Query what kind of console this is.
 boolean isRemote()
          Query what kind of console this is.
 void println(String str)
          Write a String followed by a newline to console output location.
 

Method Detail

errPrintln

public void errPrintln(String str)
Write a String followed by a newline to console error output location.

Parameters:
str - - the String to write

isEchoInput

public boolean isEchoInput()
Query what kind of console this is.

Returns:
true if and only if echoing input.

isGUI

public boolean isGUI()
Query what kind of console this is.

Returns:
true if and only if GUI

isRemote

public boolean isRemote()
Query what kind of console this is.

Returns:
true if and only if remote

println

public void println(String str)
Write a String followed by a newline to console output location.

Parameters:
str - - the string to write