Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #78 from kdabir/master

Updated README code example to reflect API changes and Changed groupid to org.apache.jdbm
  • Loading branch information...
commit 98b794ccc4e2a73a955c62e0601f43f44dd139ca 2 parents 275f231 + 85d1a24
@jankotek authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 README.md
  2. +1 −1  pom.xml
View
6 README.md
@@ -89,17 +89,17 @@ JDBM is not currently in any Maven repository. TODO: We should have soon custom
Quick example
-------------
- import net.kotek.jdbm.*;
+ import org.apache.jdbm.*;
//Open database using builder pattern.
//All options are available with code autocompletion.
DB db = DBMaker.openFile("test")
- .deleteAfterClose()
+ .deleteFilesAfterClose()
.enableEncryption("password",false)
.make();
//open an collection, TreeMap has better performance then HashMap
- SortedMap<Integer,String> map = db.createMap("collectionName");
+ SortedMap<Integer,String> map = db.createTreeMap("collectionName");
map.put(1,"one");
map.put(2,"two");
View
2  pom.xml
@@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>jdbm</groupId>
+ <groupId>org.apache.jdbm</groupId>
<artifactId>jdbm</artifactId>
<version>3.0-SNAPSHOT</version>
Please sign in to comment.
Something went wrong with that request. Please try again.