Package io.inversion.utils
Class GzipCompressingInputStream.StatefullGzipStreamEnumerator
java.lang.Object
io.inversion.utils.GzipCompressingInputStream.StatefullGzipStreamEnumerator
- All Implemented Interfaces:
Enumeration<InputStream>
- Enclosing class:
- GzipCompressingInputStream
protected static class GzipCompressingInputStream.StatefullGzipStreamEnumerator
extends Object
implements Enumeration<InputStream>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final InputStreamprotected io.inversion.utils.GzipCompressingInputStream.StreamState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamprotected InputStreamprotected InputStreambooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIterator
-
Field Details
-
in
-
bufferSize
protected final int bufferSize -
state
protected io.inversion.utils.GzipCompressingInputStream.StreamState state -
contentStream
-
-
Constructor Details
-
StatefullGzipStreamEnumerator
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<InputStream>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<InputStream>
-
createHeaderStream
-
createContentStream
-
createTrailerStream
-