|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.eclipse.ui.console.IOConsoleInputStream
InputStream used to read input from an IOConsole. This stream will buffer input that it receives until it has been read.
Clients are not intended to instantiate this class directly, instead
use IOConsole.getInputStream()
. Clients are not intended
to subclass this class.
Method Summary | |
---|---|
void |
appendData(String text)
Appends text to this input stream's buffer. |
int |
available()
|
void |
close()
|
Color |
getColor()
Returns the color used to decorate input in the associated console |
int |
getFontStyle()
Returns this stream's font style. |
int |
read()
|
int |
read(byte[] b)
|
int |
read(byte[] b,
int off,
int len)
|
void |
setColor(Color newColor)
Sets the color to used to decorate input in the associated console. |
void |
setFontStyle(int newFontStyle)
Sets this stream's font style. |
Methods inherited from class java.io.InputStream |
---|
mark, markSupported, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int read(byte[] b, int off, int len) throws IOException
IOException
public int read(byte[] b) throws IOException
IOException
public int read() throws IOException
IOException
public void appendData(String text)
text
- the text to append to the buffer.public int getFontStyle()
public void setFontStyle(int newFontStyle)
newFontStyle
- the font style to be used to decorate input in the associated consolepublic void setColor(Color newColor)
newColor
- the color to used to decorate input in the associated console.public Color getColor()
public int available() throws IOException
IOException
public void close() throws IOException
IOException
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.