void savePolicy(String filename) throws FileNotFoundException, IOException {
  parser.setKeyStoreUrl(keyStoreName);
  parser.setKeyStoreType(keyStoreType);
  parser.setKeyStoreProvider(keyStoreProvider);
  parser.setStorePassURL(keyStorePwdURL);
  parser.write(new FileWriter(filename));
  modified=false;
}

void savePolicy ( String filename ) throws FileNotFoundException , IOException { parser . setKeyStoreUrl ( keyStoreName ) ; parser . setKeyStoreType ( keyStoreType ) ; parser . setKeyStoreProvider ( keyStoreProvider ) ; parser . setStorePassURL ( keyStorePwdURL ) ; parser . write ( new FileWriter ( filename ) ) ; modified = false ; }
save a policy to a file
