• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/docs/collections/tutorial/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>Preface</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.62.4" />
9    <link rel="home" href="index.html" title="Berkeley DB Collections Tutorial" />
10    <link rel="up" href="index.html" title="Berkeley DB Collections Tutorial" />
11    <link rel="previous" href="index.html" title="Berkeley DB Collections Tutorial" />
12    <link rel="next" href="moreinfo.html" title="For More Information" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Preface</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
22          <th width="60%" align="center">��</th>
23          <td width="20%" align="right">��<a accesskey="n" href="moreinfo.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="preface" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title"><a id="preface"></a>Preface</h2>
33          </div>
34        </div>
35        <div></div>
36      </div>
37      <div class="toc">
38        <p>
39          <b>Table of Contents</b>
40        </p>
41        <dl>
42          <dt>
43            <span class="sect1">
44              <a href="preface.html#conventions">Conventions Used in this Book</a>
45            </span>
46          </dt>
47          <dt>
48            <span class="sect1">
49              <a href="moreinfo.html">For More Information</a>
50            </span>
51          </dt>
52        </dl>
53      </div>
54      <p>
55        Welcome to the Berkeley DB (DB) Collections API.  This document
56        provides a tutorial that introduces the collections API.
57        The goal of this document is to provide you with an efficient mechanism
58        with which you can quickly become efficient with this API. As such, this document is
59        intended for Java developers and senior software architects who are
60        looking for transactionally-protected backing of their Java collections.
61        No prior experience with DB technologies is expected or required.
62     </p>
63      <div class="sect1" lang="en" xml:lang="en">
64        <div class="titlepage">
65          <div>
66            <div>
67              <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
68            </div>
69          </div>
70          <div></div>
71        </div>
72        <p>
73        The following typographical conventions are used within in this manual:
74    </p>
75        <p>
76        Class names are represented in <tt class="classname">monospaced font</tt>, as are <tt class="methodname">method
77        names</tt>. For example: "The <tt class="methodname">Environment.openDatabase()</tt> method
78		returns a <tt class="classname">Database</tt> class object."
79    </p>
80        <p>
81        Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
82         <span class="emphasis"><em>DB_INSTALLATION_HOME</em></span> directory."
83    </p>
84        <p>
85        Program examples are displayed in a monospaced font on a shaded background. For example:
86    </p>
87        <pre class="programlisting">import com.sleepycat.db.Environment;
88import com.sleepycat.db.EnvironmentConfig;
89import java.io.File;
90
91...
92
93// Open the environment. Allow it to be created if it does not already exist.
94Environment myDbEnvironment;</pre>
95        <p>
96        In situations in this book, programming examples are updated from one chapter to the next in this book. When
97        this occurs, the new code is presented in <b class="userinput"><tt>monospaced bold</tt></b> font. For example:
98    </p>
99        <pre class="programlisting">import com.sleepycat.db.Environment;
100import com.sleepycat.db.EnvironmentConfig;
101import java.io.File;
102
103...
104
105// Open the environment. Allow it to be created if it does not already exist.
106<b class="userinput"><tt>Environment myDbEnv;
107EnvironmentConfig envConfig = new EnvironmentConfig();
108envConfig.setAllowCreate(true);
109myDbEnv = new Environment(new File("/export/dbEnv"), envConfig);</tt></b> </pre>
110      </div>
111    </div>
112    <div class="navfooter">
113      <hr />
114      <table width="100%" summary="Navigation footer">
115        <tr>
116          <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
117          <td width="20%" align="center">
118            <a accesskey="u" href="index.html">Up</a>
119          </td>
120          <td width="40%" align="right">��<a accesskey="n" href="moreinfo.html">Next</a></td>
121        </tr>
122        <tr>
123          <td width="40%" align="left" valign="top">Berkeley DB Collections Tutorial��</td>
124          <td width="20%" align="center">
125            <a accesskey="h" href="index.html">Home</a>
126          </td>
127          <td width="40%" align="right" valign="top">��For More Information</td>
128        </tr>
129      </table>
130    </div>
131  </body>
132</html>
133