private void extractFile(ZipInputStream zipIn,String filePath) throws IOException {
  BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream(filePath));
  byte[] bytesIn=new byte[Constant.BUFFER_SIZE];
  int read=0;
  while ((read=zipIn.read(bytesIn)) != -1) {
    bos.write(bytesIn,0,read);
  }
  bos.close();
}

private void extractFile ( ZipInputStream zipIn , String filePath ) throws IOException { BufferedOutputStream bos = new BufferedOutputStream ( new FileOutputStream ( filePath ) ) ; byte [ ] bytesIn = new byte [ Constant . BUFFER_SIZE ] ; int read = 0 ; while ( ( read = zipIn . read ( bytesIn ) ) != - 1 ) { bos . write ( bytesIn , 0 , read ) ; } bos . close ( ) ; }
extracts a zip entry ( file entry )
