public class CharWriter extends Writer
| 构造器和说明 |
|---|
CharWriter(int bufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
flush() |
CharWriter |
init(Writer writer) |
boolean |
isInUse() |
void |
write(boolean booleanValue) |
void |
write(double doubleValue) |
void |
write(float floatValue) |
void |
write(int intValue) |
void |
write(IWritable writable) |
void |
write(long longValue) |
void |
write(String str) |
void |
write(StringBuilder stringBuilder) |
void |
write(StringBuilder stringBuilder,
int offset,
int len) |
void |
write(String str,
int offset,
int len) |
public CharWriter init(Writer writer)
public void close()
public boolean isInUse()
public void flush()
throws IOException
flush 在类中 WriterIOExceptionpublic void write(String str, int offset, int len) throws IOException
write 在类中 WriterIOExceptionpublic void write(String str) throws IOException
write 在类中 WriterIOExceptionpublic void write(StringBuilder stringBuilder, int offset, int len) throws IOException
write 在类中 WriterIOExceptionpublic void write(StringBuilder stringBuilder) throws IOException
write 在类中 WriterIOExceptionpublic void write(IWritable writable) throws IOException
write 在类中 WriterIOExceptionpublic void write(int intValue)
throws IOException
write 在类中 WriterIOExceptionpublic void write(long longValue)
throws IOException
write 在类中 WriterIOExceptionpublic void write(double doubleValue)
throws IOException
write 在类中 WriterIOExceptionpublic void write(float floatValue)
throws IOException
write 在类中 WriterIOExceptionpublic void write(boolean booleanValue)
throws IOException
write 在类中 WriterIOExceptionCopyright © 2024. All rights reserved.