Package ca.phon.app.log
Class LinePrintStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
ca.phon.app.log.LinePrintStream
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Fires a property change event when a new line is printed to
the stream.
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) int
void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
write
(int b) Methods inherited from class java.io.PrintStream
append, append, append, charset, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, writeBytes
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
LINE_APPENDED_PROP
-
-
Constructor Details
-
LinePrintStream
-
-
Method Details
-
write
public void write(int b) - Overrides:
write
in classPrintStream
-
addPropertyChangeListener
-
removePropertyChangeListener
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getNumLines
public int getNumLines()
-