public class OutputStreamStreamOutput extends StreamOutput
| コンストラクタと説明 |
|---|
OutputStreamStreamOutput(OutputStream out) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close()
Closes this stream to further operations.
|
void |
flush()
Forces any buffered output to be written.
|
void |
reset() |
void |
writeByte(byte b)
Writes a single byte.
|
void |
writeBytes(byte[] b,
int offset,
int length)
Writes an array of bytes.
|
getVersion, position, seek, setVersion, write, write, writeBoolean, writeByteArray, writeBytes, writeBytes, writeBytesRef, writeBytesReference, writeDouble, writeDoubleArray, writeFloat, writeFloatArray, writeGenericValue, writeGeoPoint, writeInt, writeIntArray, writeList, writeLong, writeLongArray, writeMap, writeOptionalBoolean, writeOptionalStreamable, writeOptionalString, writeOptionalText, writeOptionalVInt, writeShort, writeString, writeStringArray, writeStringArrayNullable, writeTaskStatus, writeText, writeThrowable, writeVInt, writeVIntArray, writeVLong, writeVLongArraywritepublic OutputStreamStreamOutput(OutputStream out)
public void writeByte(byte b)
throws IOException
StreamOutputwriteByte クラス内 StreamOutputIOExceptionpublic void writeBytes(byte[] b,
int offset,
int length)
throws IOException
StreamOutputwriteBytes クラス内 StreamOutputb - the bytes to writeoffset - the offset in the byte arraylength - the number of bytes to writeIOExceptionpublic void flush()
throws IOException
StreamOutputflush インタフェース内 Flushableflush クラス内 StreamOutputIOExceptionpublic void close()
throws IOException
StreamOutputclose インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 StreamOutputIOExceptionpublic void reset()
throws IOException
reset クラス内 StreamOutputIOExceptionCopyright © 2009–2016. All rights reserved.