|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.storage.DiscardByteStore
ByteStore implementation which discards bytes. Not very useful.
Constructor Summary | |
DiscardByteStore()
Constructor. |
Method Summary | |
void |
close()
Tidies up. |
void |
copy(OutputStream out)
Takes all the data written so far into this store's sink stream and copies it to a destination stream. |
OutputStream |
getOutputStream()
Returns an output stream which can be used to write to the store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DiscardByteStore()
Method Detail |
public OutputStream getOutputStream()
ByteStore
BufferedOutputStream
for efficiency if required.
getOutputStream
in interface ByteStore
public void copy(OutputStream out)
ByteStore
copy
in interface ByteStore
out
- data destination streampublic void close()
ByteStore
close
in interface ByteStore
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |