Package org.luwrain.registry.mem
Class RegistryImpl
- java.lang.Object
-
- org.luwrain.registry.mem.RegistryImpl
-
-
Constructor Summary
Constructors Constructor Description RegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addDirectory(String path)
boolean
deleteDirectory(String path)
boolean
deleteValue(String path)
boolean
getBoolean(String path)
String[]
getDirectories(String path)
int
getInteger(String path)
String
getString(String path)
String
getStringDesignationOfType(int type)
int
getTypeOf(String path)
String[]
getValues(String path)
boolean
hasDirectory(String path)
boolean
hasValue(String path)
void
load(File file)
boolean
setBoolean(String path, boolean value)
boolean
setInteger(String path, int value)
boolean
setString(String path, String value)
-
-
-
Method Detail
-
addDirectory
public boolean addDirectory(String path)
- Specified by:
addDirectory
in interfaceRegistry
-
deleteDirectory
public boolean deleteDirectory(String path)
- Specified by:
deleteDirectory
in interfaceRegistry
-
deleteValue
public boolean deleteValue(String path)
- Specified by:
deleteValue
in interfaceRegistry
-
getBoolean
public boolean getBoolean(String path)
- Specified by:
getBoolean
in interfaceRegistry
-
getDirectories
public String[] getDirectories(String path)
- Specified by:
getDirectories
in interfaceRegistry
-
getInteger
public int getInteger(String path)
- Specified by:
getInteger
in interfaceRegistry
-
getStringDesignationOfType
public String getStringDesignationOfType(int type)
- Specified by:
getStringDesignationOfType
in interfaceRegistry
-
hasDirectory
public boolean hasDirectory(String path)
- Specified by:
hasDirectory
in interfaceRegistry
-
setBoolean
public boolean setBoolean(String path, boolean value)
- Specified by:
setBoolean
in interfaceRegistry
-
setInteger
public boolean setInteger(String path, int value)
- Specified by:
setInteger
in interfaceRegistry
-
load
public void load(File file) throws IOException
- Throws:
IOException
-
-