All Packages This Package Class Hierarchy Class Search Index
java.lang.Object
|
+----java.io.OutputStream
|
+----bmsi.fsp.PScreen.ScreenOutput
| Summary |
class PScreen.ScreenOutput
extends java.io.OutputStream
{
// Constructors 1
ScreenOutput();
// Methods 2
public void flush() throws IOException;
public void write(int) throws IOException;
}
Write 8-bit bytes to screen. There is ridiculous overhead looking up an encoding in JDK, so translating individual Strings with getBytes() is too slow. Using sun.io.CharToByteConverter directly is not 100% pure. So we use an OutputStreamWriter to translate for us, and pass it this special output stream that writes to the screen while tracking the cursor position.
| Constructors |
· ScreenOutput | Summary | Top |
ScreenOutput()
| Methods |
· write | Summary | Top |
public void write(int c) throws IOException
Copy bytes to the screen while track the cursor location.
- Overrides:
- write in class OutputStream
· flush | Summary | Top |
public void flush() throws IOException
- Overrides:
- flush in class OutputStream
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7