MCPcopy Index your code
hub / github.com/dumbledore/AlbiteREADER / setMethod

Method setMethod

src/gnu/zip/ZipEntry.java:307–313  ·  view source on GitHub ↗

Sets the compression method. Only DEFLATED and STORED are supported. @exception IllegalArgumentException if method is not supported. @see ZipOutputStream#DEFLATED @see ZipOutputStream#STORED

(int method)

Source from the content-addressed store, hash-verified

305 * @see ZipOutputStream#STORED
306 */
307 public void setMethod(int method)
308 {
309 if (method != STORED
310 && method != DEFLATED)
311 throw new IllegalArgumentException();
312 this.method = (short) method;
313 }
314
315 /**
316 * Gets the compression method.

Callers 2

readEntriesMethod · 0.95
getNextEntryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected