Package net.minecraft.client.realms
Class FileDownload.DownloadCountingOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.io.output.ProxyOutputStream
org.apache.commons.io.output.CountingOutputStream
net.minecraft.client.realms.FileDownload.DownloadCountingOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
- FileDownload
@Environment(CLIENT) class FileDownload.DownloadCountingOutputStream extends CountingOutputStream
- Mappings:
Namespace Name official dmd$aintermediary net/minecraft/class_4333$class_4334named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
-
Field Summary
Fields Modifier and Type Field Description private ActionListenerlistenerFields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors Constructor Description DownloadCountingOutputStream(OutputStream out) -
Method Summary
Modifier and Type Method Description protected voidafterWrite(int n)voidsetListener(ActionListener listener)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, write, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
listener
- Mappings:
Namespace Name Mixin selector official bLdmd$a;b:Ljava/awt/event/ActionListener;intermediary field_19539Lnet/minecraft/class_4333$class_4334;field_19539:Ljava/awt/event/ActionListener;named listenerLnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;listener:Ljava/awt/event/ActionListener;
-
-
Constructor Details
-
DownloadCountingOutputStream
- Mappings:
Namespace Name Mixin selector official <init>Ldmd$a;<init>(Ldmd;Ljava/io/OutputStream;)Vintermediary <init>Lnet/minecraft/class_4333$class_4334;<init>(Lnet/minecraft/class_4333;Ljava/io/OutputStream;)Vnamed <init>Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;<init>(Lnet/minecraft/client/realms/FileDownload;Ljava/io/OutputStream;)V
-
-
Method Details
-
setListener
- Mappings:
Namespace Name Mixin selector official aLdmd$a;a(Ljava/awt/event/ActionListener;)Vintermediary method_20969Lnet/minecraft/class_4333$class_4334;method_20969(Ljava/awt/event/ActionListener;)Vnamed setListenerLnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;setListener(Ljava/awt/event/ActionListener;)V
-
afterWrite
- Overrides:
afterWritein classProxyOutputStream- Throws:
IOException- Mappings:
Namespace Name Mixin selector official afterWriteLdmd$a;afterWrite(I)Vintermediary afterWriteLnet/minecraft/class_4333$class_4334;afterWrite(I)Vnamed afterWriteLnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V
-