public void savePlugins(File file) throws IOException {
  List<String> activeList=new ArrayList<String>();
  for (  AbstractPlugin plugin : activePlugins) {
    activeList.add(plugin.getName());
  }
  FileOutputStream fs=new FileOutputStream(file);
  ObjectOutputStream os=new ObjectOutputStream(fs);
  os.writeObject(allPlugins);
  os.writeObject(activeList);
  os.close();
}

public void savePlugins ( File file ) throws IOException { List < String > activeList = new ArrayList < String > ( ) ; for ( AbstractPlugin plugin : activePlugins ) { activeList . add ( plugin . getName ( ) ) ; } FileOutputStream fs = new FileOutputStream ( file ) ; ObjectOutputStream os = new ObjectOutputStream ( fs ) ; os . writeObject ( allPlugins ) ; os . writeObject ( activeList ) ; os . close ( ) ; }
* saves the plugin configuration to a file
