|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.RandomAccessFile
rice.p2p.util.RandomAccessFileIOBuffer
public class RandomAccessFileIOBuffer
| Field Summary |
|---|
| Fields inherited from interface rice.p2p.commonapi.rawserialization.InputBuffer |
|---|
UNKNOWN |
| Constructor Summary | |
|---|---|
RandomAccessFileIOBuffer(java.io.File file,
java.lang.String mode)
|
|
RandomAccessFileIOBuffer(java.lang.String name,
java.lang.String mode)
|
|
| Method Summary | |
|---|---|
int |
bytesRemaining()
How much data is left in the InputBuffer. |
void |
writeByte(byte v)
|
void |
writeChar(char v)
|
void |
writeShort(short v)
|
| Methods inherited from class java.io.RandomAccessFile |
|---|
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| 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.InputBuffer |
|---|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUTF |
| Methods inherited from interface rice.p2p.commonapi.rawserialization.OutputBuffer |
|---|
write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeUTF |
| Constructor Detail |
|---|
public RandomAccessFileIOBuffer(java.io.File file,
java.lang.String mode)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public RandomAccessFileIOBuffer(java.lang.String name,
java.lang.String mode)
throws java.io.FileNotFoundException
java.io.FileNotFoundException| Method Detail |
|---|
public int bytesRemaining()
InputBuffer
bytesRemaining in interface InputBufferbytesRemaining in interface OutputBuffer
public void writeByte(byte v)
throws java.io.IOException
writeByte in interface OutputBufferjava.io.IOException
public void writeChar(char v)
throws java.io.IOException
writeChar in interface OutputBufferjava.io.IOException
public void writeShort(short v)
throws java.io.IOException
writeShort in interface OutputBufferjava.io.IOException
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||