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 Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(String str, boolean noIndent) throws IOException
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.