Package com.mojang.realmsclient.client
Class FileUpload.UploadCountingInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.CountingInputStream
com.mojang.realmsclient.client.FileUpload.UploadCountingInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
FileUpload
static class FileUpload.UploadCountingInputStream
extends org.apache.commons.io.input.CountingInputStream
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.io.input.ProxyInputStream
org.apache.commons.io.input.ProxyInputStream.AbstractBuilder<T,B extends org.apache.commons.io.build.AbstractStreamBuilder<T, B>> -
Field Summary
FieldsFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.io.input.CountingInputStream
getByteCount, getCount, resetByteCount, resetCount, skipMethods inherited from class org.apache.commons.io.input.ProxyInputStream
available, beforeRead, close, handleIOException, mark, markSupported, read, read, read, reset, setReference, unwrapMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
uploadStatus
-
-
Constructor Details
-
UploadCountingInputStream
UploadCountingInputStream(InputStream parent, UploadStatus uploadStatus)
-
-
Method Details
-
afterRead
- Overrides:
afterReadin classorg.apache.commons.io.input.CountingInputStream- Throws:
IOException
-