public void save() throws IOException {
  if (myFilename == null) {
    throw new IOException("No filename specified for PreferenceStore.");
  }
  if (myChanged) {
    FileOutputStream out=new FileOutputStream(myFilename);
    try {
      save(out,null);
      myChanged=false;
    }
  finally {
      out.close();
    }
  }
}

public void save ( ) throws IOException { if ( myFilename == null ) { throw new IOException ( "No filename specified for PreferenceStore." ) ; } if ( myChanged ) { FileOutputStream out = new FileOutputStream ( myFilename ) ; try { save ( out , null ) ; myChanged = false ; } finally { out . close ( ) ; } } }
save the current store if any value has changed since the last load .
