|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.pentaho.reporting.libraries.repository.dummy.NullOutputStream
public class NullOutputStream
A null output stream. All data written to this stream is ignored.
| Constructor Summary | |
|---|---|
NullOutputStream()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
write(byte[] bytes)
Writes to the stream (in this case, does nothing). |
void |
write(byte[] bytes,
int off,
int len)
Writes to the stream (in this case, does nothing). |
void |
write(int i)
Writes to the stream (in this case, does nothing). |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullOutputStream()
| Method Detail |
|---|
public void write(int i)
throws java.io.IOException
write in class java.io.OutputStreami - the value.
java.io.IOException - if there is an I/O problem.
public void write(byte[] bytes)
throws java.io.IOException
write in class java.io.OutputStreambytes - the bytes.
java.io.IOException - if there is an I/O problem.
public void write(byte[] bytes,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreambytes - the bytes.off - the start offset in the data.len - the number of bytes to write.
java.io.IOException - if there is an I/O problem.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||