com.raelity.jvi
Class OutputStreamAdaptor
java.lang.Object
com.raelity.jvi.OutputStreamAdaptor
- All Implemented Interfaces:
- ViOutputStream
- Direct Known Subclasses:
- DefaultOutputStream
public class OutputStreamAdaptor
- extends Object
- implements ViOutputStream
Use this class instead of the interface, to make it easier to
augment the interface in a compatible way.
|
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 |
OutputStreamAdaptor
public OutputStreamAdaptor()
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
- 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
close
public void close()
- Description copied from interface:
ViOutputStream
- Done with the stream.
- Specified by:
close in interface ViOutputStream