Java wrapper for Google's LevelDB that implements SharedPreferences interface. Additionally, it supports iteration by prefix, array storage and lookup by value.
For API documentation refer to javadoc inside LevelDB.java.
registerOnSharedPreferenceChangeListener
andunregisterOnSharedPreferenceChangeListener
are unsupported, but in case you need them, they should be relatively easy to implement.- LevelDB object follows a popular native handle pattern. However, according to this Google I/O talk, such objects should be designed in a different way.
- Building is currently dependent on
module-plugin
,cmake-plugin
andLibraryVersions.ANNOTATIONS
, which must be defined insidebuildSrc/build.gradle.kts
of the root project. - Ability to add this library to your project through Maven dependency.
LevelDB Preferences
is licensed under the terms of the Apache License, Version 2.0. See LICENSE-2.0 for more information.