JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.console
Class Console

java.lang.Object
  |
  +--com.apple.mrj.console.Console
All Implemented Interfaces:
Runnable

Deprecated. As of MacOSX 10.2

public class Console
extends Object
implements Runnable

The Console class is a unification of both an input and output console window. It maintains an input and output stream, and interleaves textual intput and output graphically in a window, in a fashion similar to a traditional console.

Since:
MRJ-Simba
See Also:
InputConsole, com.apple.mrj.console.OutputConsole

Field Summary
protected  Frame consoleFrame
          Deprecated.  
protected  boolean consoleShowing
          Deprecated.  
protected  com.apple.mrj.console.Console.InputPipe inputConsolePipe
          Deprecated.  
protected  com.apple.mrj.console.Console.OutputPipe outputConsolePipe
          Deprecated.  
protected  com.apple.mrj.console.Console.ConsoleArea textArea
          Deprecated.  
protected  Object textAreaParam
          Deprecated.  
protected  boolean useForInput
          Deprecated.  
protected  boolean useForOutput
          Deprecated.  
 
Method Summary
protected  void commitInput(String str)
          Deprecated.  
protected  void createConsoleWindow()
          Deprecated.  
 InputStream getInputStream()
          Deprecated. Retrieves an input stream that can be attached to System.in, to achieve redirection of standard input.
 OutputStream getOutputStream()
          Deprecated. Retrieves an output stream that can be attached to System.out and System.err, to achieve redirection of standard output and error messages or data.
 void run()
          Deprecated. When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
protected  void showHideConsole(boolean show)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textArea

protected com.apple.mrj.console.Console.ConsoleArea textArea
Deprecated. 

textAreaParam

protected Object textAreaParam
Deprecated. 

inputConsolePipe

protected com.apple.mrj.console.Console.InputPipe inputConsolePipe
Deprecated. 

outputConsolePipe

protected com.apple.mrj.console.Console.OutputPipe outputConsolePipe
Deprecated. 

useForInput

protected boolean useForInput
Deprecated. 

useForOutput

protected boolean useForOutput
Deprecated. 

consoleFrame

protected Frame consoleFrame
Deprecated. 

consoleShowing

protected boolean consoleShowing
Deprecated. 
Method Detail

getInputStream

public InputStream getInputStream()
Deprecated. 
Retrieves an input stream that can be attached to System.in, to achieve redirection of standard input.
Returns:
an input stream for this console window.

getOutputStream

public OutputStream getOutputStream()
Deprecated. 
Retrieves an output stream that can be attached to System.out and System.err, to achieve redirection of standard output and error messages or data.
Returns:
an output stream for this console window.

commitInput

protected void commitInput(String str)
Deprecated. 

run

public void run()
Deprecated. 
Description copied from interface: Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface Runnable
Following copied from interface: java.lang.Runnable
See Also:
Thread.run()

createConsoleWindow

protected void createConsoleWindow()
Deprecated. 

showHideConsole

protected void showHideConsole(boolean show)
Deprecated. 

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.