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
private static class FileDownload.DownloadCountingOutputStream
extends org.apache.commons.io.output.CountingOutputStream
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.io.output.ProxyOutputStream
org.apache.commons.io.output.ProxyOutputStream.Builder -
Field Summary
FieldsFields inherited from class FilterOutputStream
out -
Constructor Summary
ConstructorsConstructorDescriptionDownloadCountingOutputStream(OutputStream out, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus) -
Method Summary
Methods inherited from class org.apache.commons.io.output.CountingOutputStream
beforeWrite, getByteCount, getCount, resetByteCount, resetCountMethods inherited from class org.apache.commons.io.output.ProxyOutputStream
close, flush, handleIOException, setReference, write, write, writeMethods inherited from class OutputStream
nullOutputStream
-
Field Details
-
downloadStatus
-
-
Constructor Details
-
DownloadCountingOutputStream
public DownloadCountingOutputStream(OutputStream out, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus)
-
-
Method Details
-
afterWrite
- Overrides:
afterWritein classorg.apache.commons.io.output.ProxyOutputStream- Throws:
IOException
-