|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.DataOutputStream
|
+--com.niggle.data.DefaultRecordOutputStream
An implementation of ObjectOutput for spitting out niggle records onto a stream in their default flat-file format.
for more info on the stream format.| Fields inherited from class java.io.DataOutputStream |
written |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
DefaultRecordOutputStream(java.io.OutputStream os)
|
|
DefaultRecordOutputStream(java.lang.String filename)
A convenience constructor that takes a filename argument. |
|
| Method Summary | |
void |
writeObject(java.lang.Object o)
Serialise object in ASCII format xx=yyy |
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
close, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.ObjectOutput |
close, flush, write, write, write |
| Methods inherited from interface java.io.DataOutput |
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Constructor Detail |
public DefaultRecordOutputStream(java.io.OutputStream os)
os - the underlying outputstream to write to.
public DefaultRecordOutputStream(java.lang.String filename)
throws java.io.IOException
filename - where to squirt the serialised stream.| Method Detail |
public void writeObject(java.lang.Object o)
throws java.io.IOException
writeObject in interface java.io.ObjectOutputo - Record to write
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||