public void add(File file,String password) throws IOException, UnsupportedEncodingException {
  FileInputStream fis=new FileInputStream(file);
  try {
    add(file.getPath(),fis,password);
  }
  finally {
    fis.close();
  }
}

public void add ( File file , String password ) throws IOException , UnsupportedEncodingException { FileInputStream fis = new FileInputStream ( file ) ; try { add ( file . getPath ( ) , fis , password ) ; } finally { fis . close ( ) ; } }
add un - encrypted + un - zipped file to encrypted zip file .
