Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mpisws.p2p.transport.util
Class FileInputBuffer

    java.lang.Object
      java.io.InputStream
          java.io.FilterInputStream
              java.io.DataInputStream
                  org.mpisws.p2p.transport.util.FileInputBuffer

All Implemented Interfaces:
  java.io.Closeable, java.io.DataInput, InputBuffer

    public class FileInputBuffer

extends java.io.DataInputStream
implements InputBuffer

Field Summary

Fields inherited from class java.io.FilterInputStream
`in`

Fields inherited from interface rice.p2p.commonapi.rawserialization.InputBuffer
`UNKNOWN`

Constructor Summary
`FileInputBuffer(java.io.File f, Logger logger)`
`FileInputBuffer(java.lang.String fileName, Logger logger)`

Method Summary
`int` | `bytesRemaining()` May be UNKNOWN
`java.lang.String` | `toString()`

Methods inherited from class java.io.DataInputStream
`read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes`

Methods inherited from class java.io.FilterInputStream
`available, close, mark, markSupported, read, reset, skip`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface rice.p2p.commonapi.rawserialization.InputBuffer
`read, read, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUTF`

Constructor Detail

### FileInputBuffer

    public FileInputBuffer(java.io.File f,
                           Logger logger)
                    throws java.io.FileNotFoundException

Throws:
  `java.io.FileNotFoundException`

### FileInputBuffer

    public FileInputBuffer(java.lang.String fileName,
                           Logger logger)
                    throws java.io.FileNotFoundException

Throws:
  `java.io.FileNotFoundException`

Method Detail

### bytesRemaining

    public int bytesRemaining()

  Description copied from interface: `InputBuffer`
  May be UNKNOWN

  Specified by:
    `bytesRemaining` in interface `InputBuffer`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.