void function ( int arg0 ) { if ( arg0 != STORED && arg0 != DEFLATED ) { throw new IllegalArgumentException ( "srini_string" + arg0 ) ; } compressionMethod = arg0 ; }
sets the compression method for this entry to either deflated or stored . the default is deflated , which will cause the size , compressed size , and crc to be set automatically , and the entry 's data to be compressed . if you switch to stored note that you 'll have to set the size or compressed size ; they must be the same , but it 's okay to only set one and crc yourself because they must appear before the user data in the resulting zip file . see #setsize and #setcrc . concode_field_sep long compressedSize concode_elem_sep int compressionMethod concode_elem_sep long crc concode_elem_sep int STORED concode_elem_sep int nameLength concode_elem_sep int modDate concode_elem_sep byte[] extra concode_elem_sep String name concode_elem_sep long localHeaderRelOffset concode_elem_sep String comment concode_elem_sep int time concode_elem_sep int DEFLATED concode_elem_sep long size concode_field_sep String getName concode_elem_sep long getTime concode_elem_sep int getMethod concode_elem_sep boolean containsNulByte concode_elem_sep long getCompressedSize concode_elem_sep void setCrc concode_elem_sep long getSize concode_elem_sep void setSize concode_elem_sep long getCrc concode_elem_sep int hashCode concode_elem_sep Object clone concode_elem_sep void setComment concode_elem_sep String getComment concode_elem_sep void setCompressedSize concode_elem_sep String toString concode_elem_sep void setExtra concode_elem_sep boolean isDirectory concode_elem_sep byte[] getExtra concode_elem_sep void setTime