public class ByteWriter_Byte extends ByteWriter
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
cs |
protected OutputStream |
os |
ctx, localBuffer, parent| 构造器和说明 |
|---|
ByteWriter_Byte(OutputStream os,
String cs,
Context ctx) |
ByteWriter_Byte(OutputStream os,
String cs,
Context ctx,
ByteWriter parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fill(ByteWriter bw)
将内容填充到bw里
|
void |
flush() |
String |
getCs() |
OutputStream |
getOs() |
BodyContent |
getTempConent() |
ByteWriter |
getTempWriter(ByteWriter parent) |
void |
setCs(String cs) |
void |
setOs(OutputStream os) |
void |
write(byte[] bs) |
void |
write(byte[] bs,
int count) |
void |
write(char[] cbuf) |
void |
write(char[] cbuf,
int len) |
void |
writeNumberChars(char[] chars,
int len) |
void |
writeString(String str) |
getLocalBuffer, write, writeDouble, writeFloat, writeInteger, writeLong, writeObject, writeShortprotected OutputStream os
protected String cs
public ByteWriter_Byte(OutputStream os, String cs, Context ctx)
public ByteWriter_Byte(OutputStream os, String cs, Context ctx, ByteWriter parent)
public final void write(char[] cbuf)
throws IOException
write 在类中 ByteWriterIOExceptionpublic final void write(char[] cbuf,
int len)
throws IOException
write 在类中 ByteWriterIOExceptionpublic final void write(byte[] bs)
throws IOException
write 在类中 ByteWriterIOExceptionpublic void write(byte[] bs,
int count)
throws IOException
write 在类中 ByteWriterIOExceptionpublic void writeString(String str) throws IOException
writeString 在类中 ByteWriterIOExceptionpublic ByteWriter getTempWriter(ByteWriter parent)
getTempWriter 在类中 ByteWriterpublic void flush()
throws IOException
flush 在类中 ByteWriterIOExceptionpublic void fill(ByteWriter bw) throws IOException
ByteWriterfill 在类中 ByteWriterIOExceptionpublic BodyContent getTempConent()
getTempConent 在类中 ByteWriterpublic OutputStream getOs()
public void setOs(OutputStream os)
public String getCs()
public void setCs(String cs)
public void writeNumberChars(char[] chars,
int len)
throws IOException
writeNumberChars 在类中 ByteWriterIOExceptionCopyright © 2015. All rights reserved.