Release 4.2.5.2.0

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6994 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Torsten Kleiber
2009-10-17 13:41:32 +00:00
parent 1bc5759ec9
commit ba902fe1ed

View File

@ -1,22 +0,0 @@
package net.sourceforge.pmd.jdeveloper;
import java.util.Iterator;
import java.util.Properties;
import oracle.ide.Ide;
public class IDEStorage implements SettingsStorage {
public void save(final Properties props) throws SettingsException {
for (final Iterator i = props.keySet().iterator(); i.hasNext(); ) {
final String key = (String)i.next();
final String value = props.getProperty(key);
Ide.setProperty(key, value);
}
}
public String load(final String key) throws SettingsException {
return Ide.getProperty(key);
}
}