org.apache.servicemix.jbi.deployer.impl
Class SimpleStorage
java.lang.Object
org.apache.servicemix.jbi.deployer.impl.SimpleStorage
- All Implemented Interfaces:
- Storage
public class SimpleStorage
- extends Object
- implements Storage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStorage
public SimpleStorage(File file)
load
public void load()
throws IOException
- Throws:
IOException
get
public String get(String key)
- Specified by:
get in interface Storage
get
public String get(String key,
String def)
- Specified by:
get in interface Storage
put
public void put(String key,
String value)
- Specified by:
put in interface Storage
clear
public void clear()
- Specified by:
clear in interface Storage
clear
public void clear(String prefix)
- Specified by:
clear in interface Storage
save
public void save()
throws IOException
- Specified by:
save in interface Storage
- Throws:
IOException
getStorage
public Storage getStorage(String name)
- Specified by:
getStorage in interface Storage
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.