Class FormattingWriter
java.lang.Object
de.erichseifert.vectorgraphics2d.util.FormattingWriter
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
-
Field Details
-
out
-
encoding
-
eolBytes
private final byte[] eolBytes -
position
private long position
-
-
Constructor Details
-
FormattingWriter
public FormattingWriter(OutputStream out, String encoding, String eol) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeln
- Throws:
IOException
-
writeln
- Throws:
IOException
-
writeln
- Throws:
IOException
-
writeln
- Throws:
IOException
-
writeln
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
tell
public long tell()
-