类 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
-
- 所有已实现的接口:
Closeable,Flushable,AutoCloseable
- 封闭类:
- FileDownload
@Environment(CLIENT) class FileDownload.DownloadCountingOutputStream extends CountingOutputStream
- Mappings:
Namespace Name official dpu$aintermediary net/minecraft/class_4333$class_4334named net/minecraft/client/realms/FileDownload$DownloadCountingOutputStream
-
-
字段概要
字段 修饰符和类型 字段 说明 private ActionListenerlistener-
从类继承的字段 java.io.FilterOutputStream
out
-
-
构造器概要
构造器 构造器 说明 DownloadCountingOutputStream(OutputStream out)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidafterWrite(int n)voidsetListener(ActionListener listener)-
从类继承的方法 org.apache.commons.io.output.CountingOutputStream
beforeWrite, getByteCount, getCount, resetByteCount, resetCount
-
从类继承的方法 org.apache.commons.io.output.ProxyOutputStream
close, flush, handleIOException, write, write, write
-
从类继承的方法 java.io.OutputStream
nullOutputStream
-
-
-
-
字段详细资料
-
listener
private ActionListener listener
- Mappings:
Namespace Name Mixin selector official bLdpu$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;
-
-
构造器详细资料
-
DownloadCountingOutputStream
public DownloadCountingOutputStream(OutputStream out)
- Mappings:
Namespace Name Mixin selector official <init>Ldpu$a;<init>(Ldpu;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
-
-
方法详细资料
-
setListener
public void setListener(ActionListener listener)
- Mappings:
Namespace Name Mixin selector official aLdpu$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
protected void afterWrite(int n) throws IOException- 覆盖:
afterWrite在类中ProxyOutputStream- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official afterWriteLdpu$a;afterWrite(I)Vintermediary afterWriteLnet/minecraft/class_4333$class_4334;afterWrite(I)Vnamed afterWriteLnet/minecraft/client/realms/FileDownload$DownloadCountingOutputStream;afterWrite(I)V
-
-