|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.DataOutputStream
org.mpisws.p2p.transport.util.FileOutputBuffer
public class FileOutputBuffer
Field Summary |
---|
Fields inherited from class java.io.DataOutputStream |
---|
written |
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
FileOutputBuffer(java.io.File f)
|
|
FileOutputBuffer(java.lang.String fileName)
|
Method Summary | |
---|---|
int |
bytesRemaining()
|
void |
writeByte(byte v)
|
void |
writeChar(char v)
|
void |
writeShort(short v)
|
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 rice.p2p.commonapi.rawserialization.OutputBuffer |
---|
write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeUTF |
Methods inherited from interface java.io.DataOutput |
---|
write |
Constructor Detail |
---|
public FileOutputBuffer(java.io.File f) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public FileOutputBuffer(java.lang.String fileName) throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public int bytesRemaining()
bytesRemaining
in interface OutputBuffer
public void writeByte(byte v) throws java.io.IOException
writeByte
in interface OutputBuffer
java.io.IOException
public void writeChar(char v) throws java.io.IOException
writeChar
in interface OutputBuffer
java.io.IOException
public void writeShort(short v) throws java.io.IOException
writeShort
in interface OutputBuffer
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |