Package com.mojang.realmsclient.client
Class FileDownload.DownloadCountingOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.io.output.ProxyOutputStream
org.apache.commons.io.output.CountingOutputStream
com.mojang.realmsclient.client.FileDownload.DownloadCountingOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- FileDownload
class FileDownload.DownloadCountingOutputStream
extends org.apache.commons.io.output.CountingOutputStream
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterWrite
(int p_afterWrite_1_) void
setListener
(ActionListener p_224804_1_) Methods inherited from class org.apache.commons.io.output.CountingOutputStream
beforeWrite, getByteCount, getCount, resetByteCount, resetCount
Methods inherited from class org.apache.commons.io.output.ProxyOutputStream
close, flush, handleIOException, write, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
listener
-
-
Constructor Details
-
DownloadCountingOutputStream
-
-
Method Details
-
setListener
-
afterWrite
- Overrides:
afterWrite
in classorg.apache.commons.io.output.ProxyOutputStream
- Throws:
IOException
-