public void setMethod(int method) {
    if (method != ZipEntry.STORED && method != ZipEntry.DEFLATED) {
      throw new IllegalArgumentException("invalid compression method: " + method);
    }
    this.method = method;
  }
public void setMethod(int method)