Searched defs:STORED (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DZipOutputStream.java37 * Use {@link ZipEntry#setMethod} or {@link #setMethod} with the {@link ZipEntry#STORED} flag.
70 public static final int STORED = 0; field in class:ZipOutputStream
140 // Verify values for STORED types
141 if (currentEntry.getMethod() == STORED) {
152 if (currentEntry.getMethod() != STORED) {
161 int flags = currentEntry.getMethod() == STORED ? 0 : ZipFile.GPBF_DATA_DESCRIPTOR_FLAG;
272 // If the method is STORED, check that the ZipEntry was configured appropriately.
273 if (method == STORED) {
280 throw new ZipException("STORED entry missing CRC");
283 throw new ZipException("STORED entr
[all...]
H A DZipEntry.java68 public static final int STORED = 0; field in class:ZipEntry
142 * @return the compression method, either {@code DEFLATED}, {@code STORED}
249 * Sets the compression method for this entry to either {@code DEFLATED} or {@code STORED}.
251 * set automatically, and the entry's data to be compressed. If you switch to {@code STORED}
256 * when value is not {@code DEFLATED} or {@code STORED}.
259 if (value != STORED && value != DEFLATED) {

Completed in 66 milliseconds