RoboJDETM v2.0

com.ridgesoft.vm
Class DebugOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.ridgesoft.vm.DebugOutputStream

public class DebugOutputStream
extends OutputStream

An output stream for writing to the debug output display on the host.

This is a singleton class which cannot be constructed directly. Use the VM.getOutputStream method to get the object.

Wrap the output stream in a PrintStream for a standard println output interface.

See Also:
VM.getDebugOutputStream(), PrintStream

Method Summary
 void flush()
          Flushes all characters to the display.
 void write(byte[] bytes)
          Writes ASCII bytes to the debug output display.
 void write(byte[] bytes, int off, int len)
          Writes ASCII bytes to the debug output display.
 void write(int asciiByte)
          Writes one ASCII byte to the debug output display.
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Method Detail

flush

public void flush()
           throws IOException
Flushes all characters to the display.

Overrides:
flush in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes)
           throws IOException
Writes ASCII bytes to the debug output display.

Overrides:
write in class OutputStream
Parameters:
bytes - bytes to write
Throws:
IOException

write

public void write(byte[] bytes,
                  int off,
                  int len)
           throws IOException
Writes ASCII bytes to the debug output display.

Overrides:
write in class OutputStream
Parameters:
bytes - bytes to write
off - offset of starting byte
len - length to write
Throws:
IOException

write

public void write(int asciiByte)
           throws IOException
Writes one ASCII byte to the debug output display.

Specified by:
write in class OutputStream
Parameters:
asciiByte -
Throws:
IOException

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com