Conventions Used in This Book
Constant width font is used for:
Code examples
Class, variable, and method names within the text
Italicized font is used for:
Filenames
Host and domain names
URLs
When a new method or class is introduced, its definition will appear beginning with italicized text like this:
- public void checkAccess(Thread t)
Check whether the current thread is allowed to modify the state of the parameter thread.
Command Conventions
There are some examples of commands scattered through the book, especially in sections and appendices that deal with administration. By convention, most examples are shown as they would be executed on a Unix system, e.g.:
piccolo% keytool -export -alias sdo -file /tmp/sdo.cer
Enter keystore password: ******
Certificate stored in file </tmp/sdo.cer>In these examples, the text typed by the user or administrator is always shown in bold font; the remaining text is output from the command (the string piccolo% indicates a command prompt). On other systems, the names of the files would have to be changed to conform to that system (e.g., C:\sdo.cer for a Microsoft Windows system). Keep in mind, however, that the command-line arguments often specify a URL rather than a filename, in which case you must use forward slashes. In that case, the argument is often the same, although on Microsoft Windows systems you must specify a drive: the Unix directory file:///files/sdo/ is rendered on Microsoft Windows as file:/C:/files/sdo/. When an argument requires a URL, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access