com.raelity.jvi.swing
Class DefaultOutputStream

java.lang.Object
  extended by com.raelity.jvi.OutputStreamAdaptor
      extended by com.raelity.jvi.swing.DefaultOutputStream
All Implemented Interfaces:
ViOutputStream

public class DefaultOutputStream
extends OutputStreamAdaptor


Field Summary
 
Fields inherited from interface com.raelity.jvi.ViOutputStream
LINES, OUTPUT, PRI_HIGH, PRI_LOW, PRI_NORMAL, SEARCH
 
Constructor Summary
DefaultOutputStream(ViTextView tv, String type, String info)
           
 
Method Summary
 void close()
          Done with the stream.
 void println(int line, int offset, int length)
          Add a message to this output stream.
 void println(String s)
          Add a text line to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOutputStream

public DefaultOutputStream(ViTextView tv,
                           String type,
                           String info)
Method Detail

println

public void println(int line,
                    int offset,
                    int length)
Description copied from interface: ViOutputStream
Add a message to this output stream. This argument information could be used to identify a match within a line.

Specified by:
println in interface ViOutputStream
Overrides:
println in class OutputStreamAdaptor
Parameters:
line - line number corresponding to this message
offset - offset within line
length - length, from offset, in the line

println

public void println(String s)
Description copied from interface: ViOutputStream
Add a text line to the output stream.

Specified by:
println in interface ViOutputStream
Overrides:
println in class OutputStreamAdaptor

close

public void close()
Description copied from interface: ViOutputStream
Done with the stream.

Specified by:
close in interface ViOutputStream
Overrides:
close in class OutputStreamAdaptor