com.raelity.jvi.swing
Class DefaultOutputStream
java.lang.Object
com.raelity.jvi.OutputStreamAdaptor
com.raelity.jvi.swing.DefaultOutputStream
- All Implemented Interfaces:
- ViOutputStream
public class DefaultOutputStream
- extends OutputStreamAdaptor
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 |
DefaultOutputStream
public DefaultOutputStream(ViTextView tv,
String type,
String info)
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 messageoffset
- offset within linelength
- 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