You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/changes/changes.xml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ The <action> type attribute can be add,update,fix,remove.
72
72
<actiontype="add"dev="ggregory"due-to="Danny Deschenes, Gary Gregory">GzipCompressorInputStream writes the modification time (MTIME) the value incorrectly divided by 1,000.</action>
73
73
<actiontype="add"dev="ggregory"due-to="Danny Deschenes, Gary Gregory">Add optional FHCRC to GZIP header #627.</action>
74
74
<actiontype="add"dev="ggregory"due-to="Gary Gregory">Add GzipCompressorInputStream.Builder allowing to customize the file name and comment Charsets.</action>
75
+
<actiontype="add"dev="ggregory"due-to="Gary Gregory">Add GzipCompressorInputStream.Builder.setOnMemberStart(Consumer) to monitor member parsing.</action>
76
+
<actiontype="add"dev="ggregory"due-to="Gary Gregory">Add GzipCompressorInputStream.Builder.setOnMemberEnd(Consumer) to monitor member parsing.</action>
75
77
<!-- UPDATE -->
76
78
<actiontype="update"dev="ggregory"due-to="Dependabot, Gary Gregory">Bump org.apache.commons:commons-parent from 72 to 78 #563, #567, #574, #582, #587, #595.</action>
77
79
<actiontype="update"dev="ggregory"due-to="Dependabot, Gary Gregory">Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.6-8 #565, #578, #601, #616.</action>
* Instead of using {@code java.util.zip.GZIPInputStream}, this class has its own GZIP member decoder.
49
-
* The actual decompression is done with {@link java.util.zip.Inflater}.
50
+
* Instead of using {@code java.util.zip.GZIPInputStream}, this class has its own GZIP member decoder. The actual decompression is done with
51
+
* {@link java.util.zip.Inflater}.
50
52
* </p>
51
53
*
52
54
* <p>
53
-
* If you use the constructor {@code GzipCompressorInputStream(in)} or {@code GzipCompressorInputStream(in, false)},
54
-
* then {@link #read} will return -1 as soon as the first encoded GZIP member has been completely read. In this case,
55
-
* if the underlying input stream supports {@link InputStream#mark mark()} and {@link InputStream#reset reset()},
56
-
* then it will be left positioned just after the end of the encoded GZIP member; otherwise, some indeterminate number
57
-
* of extra bytes following the encoded GZIP member will have been consumed and discarded.
55
+
* If you use the constructor {@code GzipCompressorInputStream(in)} or {@code GzipCompressorInputStream(in, false)}, then {@link #read} will return -1 as soon
56
+
* as the first encoded GZIP member has been completely read. In this case, if the underlying input stream supports {@link InputStream#mark mark()} and
57
+
* {@link InputStream#reset reset()}, then it will be left positioned just after the end of the encoded GZIP member; otherwise, some indeterminate number of
58
+
* extra bytes following the encoded GZIP member will have been consumed and discarded.
58
59
* </p>
59
60
*
60
61
* <p>
61
-
* If you use the constructor {@code GzipCompressorInputStream(in, true)} then {@link #read} will return -1 only after
62
-
* the entire input stream has been exhausted; any bytes that follow an encoded GZIP member must constitute a new encoded
63
-
* GZIP member, otherwise an {@link IOException} is thrown. The data read from a stream constructed this way will consist
64
-
* of the concatenated data of all of the encoded GZIP members in order.
62
+
* If you use the constructor {@code GzipCompressorInputStream(in, true)} then {@link #read} will return -1 only after the entire input stream has been
63
+
* exhausted; any bytes that follow an encoded GZIP member must constitute a new encoded GZIP member, otherwise an {@link IOException} is thrown. The data read
64
+
* from a stream constructed this way will consist of the concatenated data of all of the encoded GZIP members in order.
65
65
* </p>
66
66
*
67
67
* @see <a href="https://datatracker.ietf.org/doc/html/rfc1952">RFC 1952 GZIP File Format Specification</a>
0 commit comments