Class Utf8RecodingDeferredFileOutputStream
java.lang.Object
org.apache.maven.plugin.surefire.report.Utf8RecodingDeferredFileOutputStream
A deferred file output stream decorator that recodes the bytes written into the stream from the VM default encoding
to UTF-8.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private org.apache.commons.io.output.DeferredFileOutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
free()
long
void
void
writeTo
(OutputStream out)
-
Field Details
-
deferredFileOutputStream
private org.apache.commons.io.output.DeferredFileOutputStream deferredFileOutputStream -
closed
private boolean closed
-
-
Constructor Details
-
Utf8RecodingDeferredFileOutputStream
Utf8RecodingDeferredFileOutputStream(String channel)
-
-
Method Details
-
write
- Throws:
IOException
-
getByteCount
public long getByteCount() -
close
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
free
public void free()
-