Class Utf8RecodingDeferredFileOutputStream
- java.lang.Object
-
- org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream
-
class Utf8RecodingDeferredFileOutputStream extends java.lang.Object
A deferred file output stream decorator that recodes the bytes written into the stream from the VM default encoding to UTF-8.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
closed
private org.apache.commons.io.output.DeferredFileOutputStream
deferredFileOutputStream
-
Constructor Summary
Constructors Constructor Description Utf8RecodingDeferredFileOutputStream(java.lang.String channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
free()
long
getByteCount()
void
write(java.lang.String output, boolean newLine)
void
writeTo(java.io.OutputStream out)
-
-
-
Method Detail
-
write
public void write(java.lang.String output, boolean newLine) throws java.io.IOException
- Throws:
java.io.IOException
-
getByteCount
public long getByteCount()
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
free
public void free()
-
-