public void dumpCreatedResourceBundles(String location){
  Hashtable bundleHash=getCreateHash();
  for (Enumeration enumeration=bundleHash.keys(); enumeration.hasMoreElements(); ) {
    String key=(String)enumeration.nextElement();
    Properties props=(Properties)bundleHash.get(key);
    try {
      File propFile=new File(location + "/" + key);
      File parentDir=new File(propFile.getParent());
      parentDir.mkdirs();
      propFile.createNewFile();
      FileOutputStream fos=new FileOutputStream(propFile);
      props.store(fos,"I18N Resource File");
      fos.close();
    }
 catch (    FileNotFoundException fnfe) {
      fnfe.printStackTrace();
    }
catch (    IOException e) {
      e.printStackTrace();
    }
  }
}

public void dumpCreatedResourceBundles ( String location ) { Hashtable bundleHash = getCreateHash ( ) ; for ( Enumeration enumeration = bundleHash . keys ( ) ; enumeration . hasMoreElements ( ) ; ) { String key = ( String ) enumeration . nextElement ( ) ; Properties props = ( Properties ) bundleHash . get ( key ) ; try { File propFile = new File ( location + "/" + key ) ; File parentDir = new File ( propFile . getParent ( ) ) ; parentDir . mkdirs ( ) ; propFile . createNewFile ( ) ; FileOutputStream fos = new FileOutputStream ( propFile ) ; props . store ( fos , "I18N Resource File" ) ; fos . close ( ) ; } catch ( FileNotFoundException fnfe ) { fnfe . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } }
will dump the resource bundle property files searched for by this class , along with the contents that were returned or with the defaults provided by the application .
