public class IndentWriter extends Writer
Constructor and Description |
---|
IndentWriter(Writer inner,
String indent) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
flushIndent() |
void |
write(char[] chars,
int off,
int len) |
public final Writer inner
public void write(char[] chars, int off, int len) throws IOException
write
in class Writer
IOException
public void flushIndent() throws IOException
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
Copyright © 2024. All rights reserved.