Class StringListWriter
- java.lang.Object
-
- java.io.Writer
-
- proguard.classfile.util.renderer.core.StringListWriter
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.Appendable,java.lang.AutoCloseable
public class StringListWriter extends java.io.Writer
-
-
Constructor Summary
Constructors Constructor Description StringListWriter(java.util.List<java.lang.String> output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()java.util.List<java.lang.String>getOutput()voidwrite(@org.jetbrains.annotations.NotNull char[] cbuf, int off, int len)voidwrite(java.lang.String str)
-
-
-
Method Detail
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int off, int len) throws java.io.IOException- Specified by:
writein classjava.io.Writer- Throws:
java.io.IOException
-
write
public void write(java.lang.String str) throws java.io.IOException- Overrides:
writein classjava.io.Writer- Throws:
java.io.IOException
-
getOutput
public java.util.List<java.lang.String> getOutput()
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Specified by:
flushin classjava.io.Writer- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Writer- Throws:
java.io.IOException
-
-