|
|||||||||
| 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()
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
finished()
Checks if stream can output more characters; overwritten by CachedOutput to allow interruptions when the buffer is full. |
void |
flush()
|
void |
write(int b)
|
| Methods inherited from class org.basex.io.PrintOutput |
|---|
print, print, print, println, println, println, printToken, 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()
| Method Detail |
|---|
public void close()
close in interface java.io.Closeableclose in class PrintOutputpublic boolean finished()
PrintOutputCachedOutput to allow interruptions when the buffer is full.
finished in class PrintOutputpublic void flush()
flush in interface java.io.Flushableflush in class PrintOutputpublic void write(int b)
write in class PrintOutput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||