public class InputStreamStreamInput extends StreamInput
| コンストラクタと説明 |
|---|
InputStreamStreamInput(InputStream is) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close()
Closes the stream to further operations.
|
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
byte |
readByte()
Reads and returns a single byte.
|
void |
readBytes(byte[] b,
int offset,
int len)
Reads a specified number of bytes into an array at the specified offset.
|
void |
reset()
Resets the stream.
|
long |
skip(long n) |
getVersion, readBoolean, readByteArray, readBytesRef, readBytesRef, readBytesReference, readBytesReference, readDouble, readDoubleArray, readFloat, readFloatArray, readFully, readGenericValue, readGeoPoint, readInt, readIntArray, readList, readLong, readLongArray, readMap, readOptionalBoolean, readOptionalStreamable, readOptionalString, readOptionalText, readOptionalVInt, readShort, readString, readStringArray, readTaskStatus, readText, readThrowable, readVInt, readVIntArray, readVLong, readVLongArray, setVersion, wrap, wrap, wrapavailablepublic InputStreamStreamInput(InputStream is)
public byte readByte()
throws IOException
StreamInputreadByte クラス内 StreamInputIOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws IOException
StreamInputreadBytes クラス内 StreamInputb - the array to read bytes intooffset - the offset in the array to start storing byteslen - the number of bytes to readIOExceptionpublic void reset()
throws IOException
StreamInputreset クラス内 StreamInputIOExceptionpublic boolean markSupported()
markSupported クラス内 InputStreampublic void mark(int readlimit)
mark クラス内 InputStreampublic void close()
throws IOException
StreamInputclose インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 StreamInputIOExceptionpublic int read()
throws IOException
read クラス内 InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read クラス内 InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read クラス内 InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip クラス内 InputStreamIOExceptionCopyright © 2009–2016. All rights reserved.