aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2013-08-08 02:47:05 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2013-08-08 02:47:05 +0000
commitdccac86c851cc8121f792de0e3443986a3b1855c (patch)
tree799dcc6705155e0eb57b33c69a15c6bd0f1a03a1 /src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java
parent482ba4844a366f6d606314ad4c9dd22723bc5f8d (diff)
downloadjackcess-dccac86c851cc8121f792de0e3443986a3b1855c.tar.gz
jackcess-dccac86c851cc8121f792de0e3443986a3b1855c.zip
expand javadocs for core interfaces
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@769 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java b/src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java
index e9ea26e..f046205 100644
--- a/src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java
+++ b/src/java/com/healthmarketscience/jackcess/DatabaseBuilder.java
@@ -30,7 +30,19 @@ import com.healthmarketscience.jackcess.impl.CodecProvider;
import com.healthmarketscience.jackcess.util.MemFileChannel;
/**
- * Builder style class for opening/creating a Database.
+ * Builder style class for opening/creating a {@link Database}.
+ * <p/>
+ * Simple example usage:
+ * <pre>
+ * Database db = DatabaseBuilder.open(new File("test.mdb"));
+ * </pre>
+ * <p/>
+ * Advanced example usage:
+ * <pre>
+ * Database db = new DatabaseBuilder(new File("test.mdb"))
+ * .setReadOnly(true)
+ * .open();
+ * </pre>
*
* @author James Ahlborn
*/