org.pdfsam.guiclient.business.environment
Class Environment

java.lang.Object
  extended by java.util.Observable
      extended by org.pdfsam.guiclient.business.environment.Environment

public class Environment
extends java.util.Observable

Environment logic. Notifies observers when the a new env is loaded.

Author:
Andrea Vacondio

Constructor Summary
Environment(java.util.Map<PluginDataModel,AbstractPlugablePanel> plugins, JTreePanel treePanel)
           
 
Method Summary
 void loadJobs(java.io.File inputFile)
          loads an environment from an input file
 void saveEnvironment(java.io.File outFile)
          saves and environment to the output file without saving passwords
 void saveEnvironment(java.io.File outFile, boolean savePasswords)
          saves and environment to the output file
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment(java.util.Map<PluginDataModel,AbstractPlugablePanel> plugins,
                   JTreePanel treePanel)
Method Detail

saveEnvironment

public void saveEnvironment(java.io.File outFile,
                            boolean savePasswords)
saves and environment to the output file

Parameters:
outFile -
savePasswords - true save passwords informations

saveEnvironment

public void saveEnvironment(java.io.File outFile)
saves and environment to the output file without saving passwords

Parameters:
outFile -

loadJobs

public void loadJobs(java.io.File inputFile)
loads an environment from an input file

Parameters:
inputFile -