|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
org.elasticsearch.common.io.FileChannelInputStream
public class FileChannelInputStream
| Constructor Summary | |
|---|---|
FileChannelInputStream(java.nio.channels.FileChannel channel,
long position,
long length)
|
|
| Method Summary | |
|---|---|
int |
read()
|
int |
read(byte[] bs,
int off,
int len)
|
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileChannelInputStream(java.nio.channels.FileChannel channel,
long position,
long length)
channel - The channel to read fromposition - The position to start reading fromlength - The length to read| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int read(byte[] bs,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||