|
||||||||||
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 PrintOutput
public void flush()
flush
in interface java.io.Flushable
flush
in class PrintOutput
public void close()
close
in interface java.io.Closeable
close
in class PrintOutput
public boolean finished()
PrintOutput
finished
in class PrintOutput
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |