sam.event
Class ProgressEventNotifier.PlainOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--sam.event.ProgressEventNotifier.OutputStream
|
+--sam.event.ProgressEventNotifier.PlainOutputStream
- Enclosing class:
- ProgressEventNotifier
- public class ProgressEventNotifier.PlainOutputStream
- extends sam.event.ProgressEventNotifier.OutputStream
Instance inner-class for notifying the number of plain bytes written to an OutputStream
.
Method Summary |
void |
close()
|
void |
flush()
|
protected void |
notifyWritten(long numberOfWrittenBytes)
Notifies numberOfReadBytes to have been skipped |
void |
write(byte[] data,
int begin,
int length)
|
void |
write(int value)
|
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressEventNotifier.PlainOutputStream
public ProgressEventNotifier.PlainOutputStream(java.io.OutputStream delegee)
notifyWritten
protected void notifyWritten(long numberOfWrittenBytes)
- Description copied from class:
sam.event.ProgressEventNotifier.OutputStream
- Notifies
numberOfReadBytes
to have been skipped
- Specified by:
notifyWritten
in class sam.event.ProgressEventNotifier.OutputStream
write
public void write(int value)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
java.io.IOException
write
public void write(byte[] data,
int begin,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.OutputStream
java.io.IOException