org.pdfsam.guiclient.business.environment
Class Environment
java.lang.Object
java.util.Observable
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
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 |
Environment
public Environment(java.util.Map<PluginDataModel,AbstractPlugablePanel> plugins,
JTreePanel treePanel)
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
-