forked from IanDarwin/javasrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (104 loc) · 3.64 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<html>
<head>
<title>Ian Darwin's Java Cookbook: Source Code</title>
<meta name="version" content="$Id$" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="/stylesheet.css" title="style"/>
</head>
<body bgcolor="white">
<h1>Ian Darwin's Java Cookbook: Source Code</h1>
<h3>Notice</h3>
<p>This distribution is for the Second Edition of the book;
files here <b>do not match the First Edition of the Java Cookbook</b>.
If you want files for the first edition of the book, try
<a href="http://javacook.darwinsys.com/">here</a>.</p>
<h3>What's here..</h3>
<p>All the important source code files from
<a href="http://javacook.darwinsys.com/">The Java Cookbook</a>
(plus quite a number that are not covered in the book) are here.
Most of these files are Java source code.</p>
<p>For the few that are Applets,
if you load the Applet's HTML file from here, the applet will not run.
The HTML files must be saved to disk and the applets compiled,
before you can run them.
</p>
<p>All files are Copyright ©.
See the accompanying <a href="LICENSE">Legal Notice</a> for conditions of use.
You can pretty much do what you want with these, including using
them commercially, under the terms of the original
<a href="LICENSE">Berkeley Copyright</a>,
which has been approved as an
<a href="http://www.opensource.org/">Open Source Initiative</a>
conditions-of-use.
</p>
<h3>Where is...?</h3>
<p>Most of the questions people ask relate to the other APIs that I
have used in the book. The following table will help you resolve
missing classes. Remember that, as discussed in Section 2.5, you
need to have these in your class path both at compile time and
at run time.</p>
<table border="1">
<tr><th>Used In</th><th>Package</th>
<th>Description</th><th>Download From...</th>
</tr>
<tr><td>Everywhere</td>
<td>com.darwinsys.*.*</td>
<td>My utility classes; useful classes collected from
various places in the book.</td>
<td>
<a href="http://javacook.darwinsys.com/download.html">
javacook.darwinsys.com</a>
</td>
</tr>
<tr><td>1.13</td>
<td>junit.*</td>
<td>JUnit Testing Classes</td>
<td><a href="http://www.junit.org/">www.junit.org</a></td>
</tr>
<tr><td>11.*</td>
<td>javax.comm.*</td>
<td>Serial Communications</td>
<td>Several implementations.
Sun's is at <a href="http://java.sun.com/products/javacomm/">
java.sun.com/products/javacomm/</a>.
See also <a href="http://www.rxtx.org/">RXTX.org</a>.
</td>
</tr>
<tr><td>17.</td>
<td>netscape.javascript.*</td>
<td>Netscape JavaScript interface (see netweb/JScript.java)</td>
<td>None (included with Netscape; see e.g., $NETSCAPE/lib/classes/java40.jar)</td>
</tr>
<tr><td rowspan="2">18</td>
<td>SPDF</td>
<td>Ian's toy PDF library</td>
<td><a href="spdf/">Here</a></td>
</tr>
<tr>
<td>com.pdflib and others</td>
<td>Various PDF libraries</td>
<td>See bottom of page 535/top of page 536.</td>
</tr>
<tr><td>19.*</td>
<td>javax.mail.*</td>
<td>Java Mail API; activation.jar also needed; both in J2EE)</td>
<td><a href="http://java.sun.com/products/javamail/">
java.sun.com/products/javamail/</a></td>
</tr>
<tr><td>26.3</td>
<td>com.ibm.cs.*</td>
<td>Bean Scripting Framework and IBM Scripting</td>
<td><a href="http://oss.software.ibm.com/developerworks/projects/bsf/">
http://oss.software.ibm.com/developerworks/projects/bsf/</a></td>
</tr>
</table>
<h3>OK, here are the actual files</h3>
<ul>
<li><a href="index-byname.html">Listing by program name.</a></li>
<li><a href="index-bychapter.html">Listing by chapter.</a></li>
</ul>
</body>
</html>