private String dumpZipEntry(final ZipEntry ze){
  final StringBuffer sb=new StringBuffer();
  if (ze.isDirectory()) {
    sb.append("d ");
  }
 else {
    sb.append("f ");
  }
  if (ze.getMethod() == ZipEntry.STORED) {
    sb.append("stored   ");
  }
 else {
    sb.append("defalted ");
  }
  sb.append(ze.getName());
  sb.append("\t");
  sb.append("" + ze.getSize());
  if (ze.getMethod() == ZipEntry.DEFLATED) {
    sb.append("/" + ze.getCompressedSize());
  }
  return sb.toString();
}

private String dumpZipEntry ( final ZipEntry ze ) { final StringBuffer sb = new StringBuffer ( ) ; if ( ze . isDirectory ( ) ) { sb . append ( "d " ) ; } else { sb . append ( "f " ) ; } if ( ze . getMethod ( ) == ZipEntry . STORED ) { sb . append ( "stored   " ) ; } else { sb . append ( "defalted " ) ; } sb . append ( ze . getName ( ) ) ; sb . append ( "\t" ) ; sb . append ( "" + ze . getSize ( ) ) ; if ( ze . getMethod ( ) == ZipEntry . DEFLATED ) { sb . append ( "/" + ze . getCompressedSize ( ) ) ; } return sb . toString ( ) ; }
dumps a zip entry into a string .
