public static class FileUtils.StringBuilderWriter extends Writer implements Serializable
Constructor and Description |
---|
StringBuilderWriter() |
StringBuilderWriter(int capacity) |
StringBuilderWriter(StringBuilder builder) |
Modifier and Type | Method and Description |
---|---|
Writer |
append(char value) |
Writer |
append(CharSequence value) |
Writer |
append(CharSequence value,
int start,
int end) |
void |
close() |
void |
flush() |
StringBuilder |
getBuilder() |
String |
toString() |
void |
write(char[] value,
int offset,
int length) |
void |
write(String value) |
public StringBuilderWriter()
public StringBuilderWriter(int capacity)
public StringBuilderWriter(StringBuilder builder)
public Writer append(char value)
append
in interface Appendable
append
in class Writer
public Writer append(CharSequence value)
append
in interface Appendable
append
in class Writer
public Writer append(CharSequence value, int start, int end)
append
in interface Appendable
append
in class Writer
public void close()
public void flush()
public StringBuilder getBuilder()
Copyright © 2021. All rights reserved.