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)
private static class FileDownload.DownloadCountingOutputStream
extends CountingOutputStream
- Mappings:
Namespace Name named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
intermediary net/minecraft/class_4333$class_4334
official fam$a
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterWrite
(int n) void
setListener
(ActionListener listener) 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
- Mappings:
Namespace Name Mixin selector named listener
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;listener:Ljava/awt/event/ActionListener;
intermediary field_19539
Lnet/minecraft/class_4333$class_4334;field_19539:Ljava/awt/event/ActionListener;
official a
Lfam$a;a:Ljava/awt/event/ActionListener;
-
-
Constructor Details
-
DownloadCountingOutputStream
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;<init>(Ljava/io/OutputStream;)V
intermediary <init>
Lnet/minecraft/class_4333$class_4334;<init>(Ljava/io/OutputStream;)V
official <init>
Lfam$a;<init>(Ljava/io/OutputStream;)V
-
-
Method Details
-
setListener
- Mappings:
Namespace Name Mixin selector named setListener
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;setListener(Ljava/awt/event/ActionListener;)V
intermediary method_20969
Lnet/minecraft/class_4333$class_4334;method_20969(Ljava/awt/event/ActionListener;)V
official a
Lfam$a;a(Ljava/awt/event/ActionListener;)V
-
afterWrite
- Overrides:
afterWrite
in classProxyOutputStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named afterWrite
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V
intermediary afterWrite
Lnet/minecraft/class_4333$class_4334;afterWrite(I)V
official afterWrite
Lfam$a;afterWrite(I)V
-