public class IndentWriter extends Writer
| Constructor and Description |
|---|
IndentWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(String str) |
void |
write(String str,
boolean noIndent) |
public IndentWriter(Writer writer)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void write(String str) throws IOException
write in class WriterIOExceptionpublic void write(String str, boolean noIndent) throws IOException
IOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionCopyright © 2000–2023 Apache Software Foundation. All rights reserved.