| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Public @InterfaceStability.Evolving public interface PositionedReadable
Stream that permits positional reading.
| Method Summary | |
|---|---|
|  int | read(long position,
         byte[] buffer,
         int offset,
         int length)Read upto the specified number of bytes, from a given position within a file, and return the number of bytes read. | 
|  void | readFully(long position,
                   byte[] buffer)Read number of bytes equal to the length of the buffer, from a given position within a file. | 
|  void | readFully(long position,
                   byte[] buffer,
                   int offset,
                   int length)Read the specified number of bytes, from a given position within a file. | 
| Method Detail | 
|---|
int read(long position,
         byte[] buffer,
         int offset,
         int length)
         throws IOException
IOException
void readFully(long position,
               byte[] buffer,
               int offset,
               int length)
               throws IOException
IOException
void readFully(long position,
               byte[] buffer)
               throws IOException
IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||