public ZipEntry(String name){
  if (name == null) {
    throw new NullPointerException();
  }
  if (name.length() > 0xFFFF) {
    throw new IllegalArgumentException("entry name too long");
  }
  this.name=name;
}

public ZipEntry ( String name ) { if ( name == null ) { throw new NullPointerException ( ) ; } if ( name . length ( ) > 0xFFFF ) { throw new IllegalArgumentException ( "entry name too long" ) ; } this . name = name ; }
creates a new zip entry with the specified name .
