public abstract class FilterStreamInput extends StreamInput
StreamInput and delegates to it. To be used to add functionality to an existing stream by subclassing.| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
FilterStreamInput(StreamInput delegate) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close()
Closes the stream to further operations.
|
Version |
getVersion() |
int |
read() |
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.
|
void |
setVersion(Version version) |
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, wrap, wrap, wrapavailable, mark, markSupported, read, read, skipprotected FilterStreamInput(StreamInput delegate)
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 int read()
throws IOException
read クラス内 InputStreamIOExceptionpublic void close()
throws IOException
StreamInputclose インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 StreamInputIOExceptionpublic Version getVersion()
getVersion クラス内 StreamInputpublic void setVersion(Version version)
setVersion クラス内 StreamInputCopyright © 2009–2016. All rights reserved.