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 official dsi$a
intermediary net/minecraft/class_4333$class_4334
named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
-
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 official a
Ldsi$a;a:Ljava/awt/event/ActionListener;
intermediary field_19539
Lnet/minecraft/class_4333$class_4334;field_19539:Ljava/awt/event/ActionListener;
named listener
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;listener:Ljava/awt/event/ActionListener;
-
-
Constructor Details
-
DownloadCountingOutputStream
-
-
Method Details
-
setListener
- Mappings:
Namespace Name Mixin selector official a
Ldsi$a;a(Ljava/awt/event/ActionListener;)V
intermediary method_20969
Lnet/minecraft/class_4333$class_4334;method_20969(Ljava/awt/event/ActionListener;)V
named setListener
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;setListener(Ljava/awt/event/ActionListener;)V
-
afterWrite
- Overrides:
afterWrite
in classProxyOutputStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official afterWrite
Ldsi$a;afterWrite(I)V
intermediary afterWrite
Lnet/minecraft/class_4333$class_4334;afterWrite(I)V
named afterWrite
Lnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V
-