|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.basex.io.PrintOutput
org.basex.io.NullOutput
public final class NullOutput
This class swallows all data it receives.
| Constructor Summary | |
|---|---|
NullOutput()
Constructor. |
|
NullOutput(boolean s)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
finished()
Checks if stream can output more characters; can be overwritten to interrupt streaming at some point. |
void |
flush()
|
void |
write(int b)
|
| Methods inherited from class org.basex.io.PrintOutput |
|---|
print, print, print, print, print, println, println, println, size |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullOutput()
public NullOutput(boolean s)
s - if set to true, streaming is canceled in an early stage.| Method Detail |
|---|
public void write(int b)
write in class PrintOutputpublic void flush()
flush in interface java.io.Flushableflush in class PrintOutputpublic void close()
close in interface java.io.Closeableclose in class PrintOutputpublic boolean finished()
PrintOutput
finished in class PrintOutput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||