author | ssadetsky |
Mon, 16 Oct 2017 08:06:56 -0700 | |
changeset 47387 | 4d711a58bb3b |
parent 47216 | 71c04702a3d5 |
child 49424 | 4269e701448e |
permissions | -rw-r--r-- |
23600 | 1 |
'\" t |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2 |
.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved. |
23600 | 3 |
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
.\" |
|
5 |
.\" This code is free software; you can redistribute it and/or modify it |
|
6 |
.\" under the terms of the GNU General Public License version 2 only, as |
|
7 |
.\" published by the Free Software Foundation. |
|
8 |
.\" |
|
9 |
.\" This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
11 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
23600 | 12 |
.\" version 2 for more details (a copy is included in the LICENSE file that |
13 |
.\" accompanied this code). |
|
14 |
.\" |
|
15 |
.\" You should have received a copy of the GNU General Public License version |
|
16 |
.\" 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
.\" |
|
19 |
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
.\" or visit www.oracle.com if you need additional information or have any |
|
21 |
.\" questions. |
|
22 |
.\" |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
23 |
.\" Title: javadoc |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
24 |
.\" Language: Japanese |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
25 |
.\" Date: 2015年3月3日 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
26 |
.\" SectDesc: 基本ツール |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
27 |
.\" Software: JDK 8 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
28 |
.\" Arch: 汎用 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
29 |
.\" Part Number: E58103-01 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
30 |
.\" Doc ID: JSSON |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
31 |
.\" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
32 |
.if n .pl 99999 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
33 |
.TH "javadoc" "1" "2015年3月3日" "JDK 8" "基本ツール" |
23600 | 34 |
.\" ----------------------------------------------------------------- |
35 |
.\" * Define some portability stuff |
|
36 |
.\" ----------------------------------------------------------------- |
|
37 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
38 |
.\" http://bugs.debian.org/507673 |
|
39 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
|
40 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
41 |
.ie \n(.g .ds Aq \(aq |
|
42 |
.el .ds Aq ' |
|
43 |
.\" ----------------------------------------------------------------- |
|
44 |
.\" * set default formatting |
|
45 |
.\" ----------------------------------------------------------------- |
|
46 |
.\" disable hyphenation |
|
47 |
.nh |
|
48 |
.\" disable justification (adjust text to left margin only) |
|
49 |
.ad l |
|
50 |
.\" ----------------------------------------------------------------- |
|
51 |
.\" * MAIN CONTENT STARTS HERE * |
|
52 |
.\" ----------------------------------------------------------------- |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
53 |
.SH "名前" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
54 |
javadoc \- Javaソース・ファイルから、APIドキュメントのHTMLページを生成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
55 |
.SH "概要" |
23600 | 56 |
.sp |
57 |
.if n \{\ |
|
58 |
.RS 4 |
|
59 |
.\} |
|
2692 | 60 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
61 |
\fBjavadoc\fR {\fIpackages\fR|\fIsource\-files\fR} [\fIoptions\fR] [\fI@argfiles\fR] |
2692 | 62 |
.fi |
23600 | 63 |
.if n \{\ |
64 |
.RE |
|
65 |
.\} |
|
66 |
.PP |
|
67 |
\fIpackages\fR |
|
68 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
69 |
\fBjava\&.lang java\&.lang\&.reflect java\&.awt\fRなど、空白で区切ってドキュメント化するパッケージの名前。サブパッケージもドキュメント化する場合は、\fB\-subpackages\fRオプションを使用してパッケージを指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
70 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
71 |
デフォルトでは、\fBjavadoc\fRは、現在のディレクトリおよびサブディレクトリで指定されたパッケージを探します。\fB\-sourcepath\fRオプションを使用して、パッケージを探すディレクトリのリストを指定します。 |
23600 | 72 |
.RE |
73 |
.PP |
|
74 |
\fIsource\-files\fR |
|
75 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
76 |
\fBClass\&.java Object\&.java Button\&.java\fRのように空白で区切った、ドキュメント化するJavaソース・ファイルの名前。デフォルトでは、\fBjavadoc\fRは、現在のディレクトリで指定されたクラスを探します。ただし、\fB/home/src/java/awt/Graphics*\&.java\fRのように、クラス・ファイルのフルパスを指定し、ワイルドカード文字を使用できます。現在のディレクトリからの相対パスも指定できます。 |
23600 | 77 |
.RE |
78 |
.PP |
|
79 |
\fIoptions\fR |
|
80 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
81 |
空白で区切られたコマンド行オプション。オプションを参照してください。 |
23600 | 82 |
.RE |
83 |
.PP |
|
84 |
\fI@argfiles\fR |
|
85 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
86 |
\fBjavadoc\fRコマンド・オプション、パッケージ名およびソース・ファイル名のリストを任意の順序で含むファイルの名前。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
87 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
88 |
.SH "説明" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
89 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
90 |
\fBjavadoc\fRコマンドは、一連のJavaソース・ファイルにある宣言およびドキュメンテーション・コメントを解析し、デフォルトでは、publicクラス、protectedクラス、ネストされたクラス(匿名の内部クラスは除く)、インタフェース、コンストラクタ、メソッド、およびフィールドについて記述した一連のHTMLページを生成します。\fBjavadoc\fRコマンドは、APIドキュメントの生成や、一連のソース・ファイルの実装ドキュメントの生成に使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
91 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
92 |
\fBjavadoc\fRコマンドは、パッケージ全体、個々のソース・ファイル、またはその両方に対して実行できます。パッケージ全体のドキュメント化を行うには、\fB\-subpackages\fRオプションを使用してディレクトリおよびそのサブディレクトリを再帰的にたどるか、パッケージ名の明示的なリストを渡します。個々のソース・ファイルをドキュメント化するには、Javaソース・ファイル名のリストを渡します。簡単な例を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
93 |
.SS "ソース・ファイルの処理" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
94 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
95 |
\fBjavadoc\fRコマンドは、ソースで終わるファイル、およびソース・ファイルで説明しているその他のファイルを処理します。個々のソース・ファイル名を渡して\fBjavadoc\fRを実行する場合、どのソース・ファイルを処理するかを正確に指定できます。ただし、多くの開発者はこの方法では作業しません。パッケージ名を渡すほうが簡単だからです。ソース・ファイル名を明示的に指定しなくても、\fBjavadoc\fRコマンドは3つの方法で実行できます。パッケージ名を渡し、\fB\-subpackages\fRオプションを使用するか、またはソース・ファイル名にワイルドカードを使用することができます。これらの場合、\fBjavadoc\fRコマンドがソース・ファイルの処理を行うのは、そのファイルが次のすべての要件を満たす場合のみです。 |
23600 | 96 |
.sp |
97 |
.RS 4 |
|
98 |
.ie n \{\ |
|
99 |
\h'-04'\(bu\h'+03'\c |
|
100 |
.\} |
|
101 |
.el \{\ |
|
102 |
.sp -1 |
|
103 |
.IP \(bu 2.3 |
|
104 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
105 |
ファイル名の接頭辞(\fB\&.java\fRを削除)が有効なクラス名である。 |
23600 | 106 |
.RE |
107 |
.sp |
|
108 |
.RS 4 |
|
109 |
.ie n \{\ |
|
110 |
\h'-04'\(bu\h'+03'\c |
|
111 |
.\} |
|
112 |
.el \{\ |
|
113 |
.sp -1 |
|
114 |
.IP \(bu 2.3 |
|
115 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
116 |
ソース・ツリーのルートからの相対的なパス名が、区切り文字をドットに変換すると、有効なパッケージ名になる。 |
23600 | 117 |
.RE |
118 |
.sp |
|
119 |
.RS 4 |
|
120 |
.ie n \{\ |
|
121 |
\h'-04'\(bu\h'+03'\c |
|
122 |
.\} |
|
123 |
.el \{\ |
|
124 |
.sp -1 |
|
125 |
.IP \(bu 2.3 |
|
126 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
127 |
パッケージ文に有効なパッケージ名が含まれている。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
128 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
129 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
130 |
リンクの処理 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
131 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
132 |
処理の実行中に、\fBjavadoc\fRコマンドは、その実行でドキュメント化されるパッケージ、クラス、およびメンバーの名前に対して、相互参照リンクを追加します。リンクは、次の場所に表示されます。@タグの説明については、javadocタグを参照してください。 |
23600 | 133 |
.sp |
134 |
.RS 4 |
|
135 |
.ie n \{\ |
|
136 |
\h'-04'\(bu\h'+03'\c |
|
137 |
.\} |
|
138 |
.el \{\ |
|
139 |
.sp -1 |
|
140 |
.IP \(bu 2.3 |
|
141 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
142 |
宣言(戻り値の型、引数の型、フィールドの型)。 |
23600 | 143 |
.RE |
144 |
.sp |
|
145 |
.RS 4 |
|
146 |
.ie n \{\ |
|
147 |
\h'-04'\(bu\h'+03'\c |
|
148 |
.\} |
|
149 |
.el \{\ |
|
150 |
.sp -1 |
|
151 |
.IP \(bu 2.3 |
|
152 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
153 |
\fB@see\fRタグから生成された\fI「関連項目」\fRセクション。 |
23600 | 154 |
.RE |
155 |
.sp |
|
156 |
.RS 4 |
|
157 |
.ie n \{\ |
|
158 |
\h'-04'\(bu\h'+03'\c |
|
159 |
.\} |
|
160 |
.el \{\ |
|
161 |
.sp -1 |
|
162 |
.IP \(bu 2.3 |
|
163 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
164 |
\fB{@link}\fRタグから生成されたインライン・テキスト。 |
23600 | 165 |
.RE |
166 |
.sp |
|
167 |
.RS 4 |
|
168 |
.ie n \{\ |
|
169 |
\h'-04'\(bu\h'+03'\c |
|
170 |
.\} |
|
171 |
.el \{\ |
|
172 |
.sp -1 |
|
173 |
.IP \(bu 2.3 |
|
174 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
175 |
\fB@throws\fRタグから生成された例外の名前。 |
23600 | 176 |
.RE |
177 |
.sp |
|
178 |
.RS 4 |
|
179 |
.ie n \{\ |
|
180 |
\h'-04'\(bu\h'+03'\c |
|
181 |
.\} |
|
182 |
.el \{\ |
|
183 |
.sp -1 |
|
184 |
.IP \(bu 2.3 |
|
185 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
186 |
インタフェースのメンバーに対する\fI「定義」\fRリンクと、クラスのメンバーに対する\fI「オーバーライド」\fRリンク。メソッド・コメントの継承を参照してください。 |
23600 | 187 |
.RE |
188 |
.sp |
|
189 |
.RS 4 |
|
190 |
.ie n \{\ |
|
191 |
\h'-04'\(bu\h'+03'\c |
|
192 |
.\} |
|
193 |
.el \{\ |
|
194 |
.sp -1 |
|
195 |
.IP \(bu 2.3 |
|
196 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
197 |
パッケージ、クラス、およびメンバーをリストしているサマリー表。 |
23600 | 198 |
.RE |
199 |
.sp |
|
200 |
.RS 4 |
|
201 |
.ie n \{\ |
|
202 |
\h'-04'\(bu\h'+03'\c |
|
203 |
.\} |
|
204 |
.el \{\ |
|
205 |
.sp -1 |
|
206 |
.IP \(bu 2.3 |
|
207 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
208 |
パッケージおよびクラスの継承ツリー。 |
23600 | 209 |
.RE |
210 |
.sp |
|
211 |
.RS 4 |
|
212 |
.ie n \{\ |
|
213 |
\h'-04'\(bu\h'+03'\c |
|
214 |
.\} |
|
215 |
.el \{\ |
|
216 |
.sp -1 |
|
217 |
.IP \(bu 2.3 |
|
218 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
219 |
索引。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
220 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
221 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
222 |
コマンド行で指定しなかったクラスについての既存のテキスト(別に生成したテキスト)に対してリンクを追加するには、\fB\-link\fRおよび\fB\-linkoffline\fRオプションを利用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
223 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
224 |
処理の詳細 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
225 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
226 |
\fBjavadoc\fRコマンドは実行するたびに1つの完全なドキュメントを生成します。前の実行の結果を変更または直接取り込む、増分ビルドを行いません。ただし、\fBjavadoc\fRコマンドは、他の実行の結果にリンクできます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
227 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
228 |
\fBjavadoc\fRコマンドの実装にはJavaコンパイラが必要で、Javaコンパイラに依存しています。\fBjavadoc\fRコマンドは\fBjavac\fRコマンドの一部を呼び出し、宣言をコンパイルして、メンバーの実装を無視します。\fBjavadoc\fRコマンドは、クラス階層を含むクラスの豊富な内部表現とクラスの「使用」関係を構築し、HTMLを生成します。さらに、J\fBjavadoc\fRコマンドは、ソース・コードのドキュメンテーション・コメントから、ユーザーの提供したドキュメントも取得します。ドキュメンテーション・コメントを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
229 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
230 |
\fBjavadoc\fRコマンドは、メソッド本体を持たない純粋なスタブ・ファイルであるソース・ファイルに対して実行できます。したがって、APIの実装前の設計の早い段階で、ドキュメンテーション・コメントを記述して\fBjavadoc\fRコメントを実行できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
231 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
232 |
コンパイラに依存することによって、HTML出力は、実際の実装に正確に対応します。実際の実装は、明示的なソース・コードにではなく、暗黙のソース・コードに依存する場合があります。たとえば、\fBjavadoc\fRコマンドは、コンパイル済クラス・ファイルには存在するがソース・コードには存在しないデフォルト・コンストラクタをドキュメント化します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
233 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
234 |
多くの場合、\fBjavadoc\fRコマンドでは、ソース・ファイルのコードが不完全またはエラーを含んでいる場合でもドキュメントを生成できます。すべてのデバッグやトラブルシューティングを完了する前にドキュメントを生成できます。\fBjavadoc\fRコマンドはドキュメンテーション・コメントの基本的なチェックを行います。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
235 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
236 |
\fBjavadoc\fRコマンドは、ドキュメントの内部構造を構築する際、参照クラスをすべてロードします。このため、 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
237 |
\fBjavadoc\fRコマンドは、ブートストラップ・クラス、拡張機能、またはユーザー・クラスにかかわらず、すべての参照クラスを検索できる必要があります。クラスの検出方法 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
238 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/findingclasses\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
239 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
240 |
通常、作成するクラスは、拡張クラスとして、または\fBjavadoc\fRコマンドのクラス・パスでロードされる必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
241 |
.SS "Javadocのドックレット" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
242 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
243 |
\fBjavadoc\fRコマンドの出力の内容と形式は、ドックレットを使用してカスタマイズできます。\fBjavadoc\fRコマンドには、標準ドックレットと呼ばれるデフォルトの組込みドックレットがあります。標準ドックレットは、HTML形式のAPIドキュメントを生成します。標準ドックレットを修正またはサブクラスを作成することや、HTML、XML、MIF、RTFなどの好みの出力形式を生成する独自のドックレットを記述することも可能です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
244 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
245 |
\fB\-doclet\fRオプションでカスタム・ドックレットが指定されていない場合、\fBjavadoc\fRコマンドは、デフォルトの標準ドックレットを使用します。\fBjavadoc\fRコマンドには、使用されているドックレットに関係なく使用できるいくつかのオプションがあります。標準ドックレットでは、これらの他に、いくつかのコマンド行オプションが追加されます。オプションを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
246 |
.SH "ソース・ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
247 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
248 |
\fBjavadoc\fRコマンドは、次のタイプのソース・ファイルから出力を生成します。そのファイルは、クラスのJava言語ソース・ファイル(\fB\&.java\fR)、パッケージ・コメント・ファイル、概要コメント・ファイル、およびその他の未処理のファイルです。ここでは、ドキュメント化しないがソース・ツリーに存在する場合があるテスト・ファイルやテンプレート・ファイルについても説明します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
249 |
.SS "クラスのソース・ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
250 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
251 |
それぞれのクラスまたはインタフェース、およびそのメンバーは、独自のドキュメンテーション・コメントを持つことができ、それをソース・ファイル内に保持します。ドキュメンテーション・コメントを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
252 |
.SS "パッケージ・コメント・ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
253 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
254 |
それぞれのパッケージは、独自のドキュメンテーション・コメントを持つことができ、それを専用のソース・ファイルに保持します。その内容は、\fBjavadoc\fRコマンドによって生成されるパッケージのサマリー・ページに組み込まれます。このコメントには、通常、そのパッケージ全体に当てはまるドキュメントを記述します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
255 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
256 |
パッケージ・コメント・ファイルを作成するには、次のいずれかのファイルにコメントを格納できます。 |
23600 | 257 |
.sp |
258 |
.RS 4 |
|
259 |
.ie n \{\ |
|
260 |
\h'-04'\(bu\h'+03'\c |
|
261 |
.\} |
|
262 |
.el \{\ |
|
263 |
.sp -1 |
|
264 |
.IP \(bu 2.3 |
|
265 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
266 |
\fBpackage\-info\&.java\fRファイルには、パッケージ宣言、パッケージ注釈、パッケージ・コメント、およびJavadocタグを格納できます。このファイルが優先されます。 |
23600 | 267 |
.RE |
268 |
.sp |
|
269 |
.RS 4 |
|
270 |
.ie n \{\ |
|
271 |
\h'-04'\(bu\h'+03'\c |
|
272 |
.\} |
|
273 |
.el \{\ |
|
274 |
.sp -1 |
|
275 |
.IP \(bu 2.3 |
|
276 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
277 |
\fBpackage\&.html\fRファイルには、パッケージ・コメントとJavadocタグのみを格納できます。パッケージ注釈は格納できません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
278 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
279 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
280 |
各パッケージは、\fBpackage\&.html\fRファイルまたは\fBpackage\-info\&.java\fRファイルのいずれかを1つ持つことができますが、その両方を持つことはできません。このどちらかのファイルをソース・ファイルとともに、ソース・ツリー内のそのパッケージ・ディレクトリ内に配置してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
281 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
282 |
package\-info\&.javaファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
283 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
284 |
\fBpackage\-info\&.java\fRファイルには、次の構造のパッケージ・コメントを含めることができます。コメントは、パッケージ宣言の前に配置されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
285 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
286 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
287 |
コメント区切り文字である\fB/**\fRおよび\fB*/\fRが存在する必要がありますが、中間の行の先頭のアスタリスクは省略可能です。 |
23600 | 288 |
.sp |
289 |
.if n \{\ |
|
290 |
.RS 4 |
|
291 |
.\} |
|
2 | 292 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
293 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
294 |
\fB * Provides the classes necessary to create an \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
295 |
\fB * applet and the classes an applet uses \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
296 |
\fB * to communicate with its applet context\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
297 |
\fB * <p>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
298 |
\fB * The applet framework involves two entities:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
299 |
\fB * the applet and the applet context\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
300 |
\fB * An applet is an embeddable window (see the\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
301 |
\fB * {@link java\&.awt\&.Panel} class) with a few extra\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
302 |
\fB * methods that the applet context can use to \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
303 |
\fB * initialize, start, and stop the applet\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
304 |
\fB *\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
305 |
\fB * @since 1\&.0\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
306 |
\fB * @see java\&.awt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
307 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
308 |
\fBpackage java\&.lang\&.applet;\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
309 |
|
2 | 310 |
.fi |
23600 | 311 |
.if n \{\ |
312 |
.RE |
|
313 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
314 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
315 |
package\&.htmlファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
316 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
317 |
\fBpackage\&.html\fRファイルには、次の構造のパッケージ・コメントを含めることができます。コメントは、\fB<body>\fR要素に配置されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
318 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
319 |
ファイル: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
320 |
\fBjava/applet/package\&.html\fR |
23600 | 321 |
.sp |
322 |
.if n \{\ |
|
323 |
.RS 4 |
|
324 |
.\} |
|
2692 | 325 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
326 |
\fB<HTML>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
327 |
\fB<BODY>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
328 |
\fBProvides the classes necessary to create an applet and the \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
329 |
\fBclasses an applet uses to communicate with its applet context\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
330 |
\fB<p>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
331 |
\fBThe applet framework involves two entities: the applet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
332 |
\fBand the applet context\&. An applet is an embeddable\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
333 |
\fBwindow (see the {@link java\&.awt\&.Panel} class) with a\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
334 |
\fBfew extra methods that the applet context can use to\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
335 |
\fBinitialize, start, and stop the applet\&. \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
336 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
337 |
\fB@since 1\&.0 \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
338 |
\fB@see java\&.awt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
339 |
\fB</BODY>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
340 |
\fB</HTML>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
341 |
|
2 | 342 |
.fi |
23600 | 343 |
.if n \{\ |
344 |
.RE |
|
345 |
.\} |
|
346 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
347 |
\fBpackage\&.html\fRファイルは通常のHTMLファイルであり、パッケージ宣言を含んでいません。パッケージ・コメント・ファイルの内容はHTMLで記述しますが、例外が1つあります。このドキュメンテーション・コメントには、コメント区切り文字である\fB/**\fRと\fB*/\fR、または行頭のアスタリスクを含めない、という点です。コメントを書く場合は、最初の文をパッケージのサマリーとし、\fB<body>\fRタグと最初の文の間にタイトルやその他のテキストを含めないようにします。パッケージ・タグを含めることができます。すべてのブロック・タグは、主説明の後に配置する必要があります。\fB@see\fRタグをパッケージ・コメント・ファイルに追加する場合には、完全修飾名を使用する必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
348 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
349 |
コメント・ファイルの処理 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
350 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
351 |
\fBjavadoc\fRコメントを実行すると、パッケージ・コメント・ファイルが検索されます。パッケージ・コメント・ファイルが見つかった場合は、\fBjavadoc\fRコマンドは次の手順を実行します。 |
23600 | 352 |
.sp |
353 |
.RS 4 |
|
354 |
.ie n \{\ |
|
355 |
\h'-04'\(bu\h'+03'\c |
|
356 |
.\} |
|
357 |
.el \{\ |
|
358 |
.sp -1 |
|
359 |
.IP \(bu 2.3 |
|
360 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
361 |
処理できるようにコメントをコピーします。package\&.htmlの場合、\fBjavadoc\fRコマンドは、\fB<body>\fRと\fB</body>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
362 |
HTMLタグ間ですべてのコンテンツをコピーします。\fB<title>\fRタグ、ソース・ファイルの著作権文または他の情報を配置する\fB<head>\fRセクションを含めることができますが、これらは生成されたドキュメントに表示されません。 |
23600 | 363 |
.RE |
364 |
.sp |
|
365 |
.RS 4 |
|
366 |
.ie n \{\ |
|
367 |
\h'-04'\(bu\h'+03'\c |
|
368 |
.\} |
|
369 |
.el \{\ |
|
370 |
.sp -1 |
|
371 |
.IP \(bu 2.3 |
|
372 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
373 |
パッケージ・タグを処理します。パッケージ・タグを参照してください。 |
23600 | 374 |
.RE |
375 |
.sp |
|
376 |
.RS 4 |
|
377 |
.ie n \{\ |
|
378 |
\h'-04'\(bu\h'+03'\c |
|
379 |
.\} |
|
380 |
.el \{\ |
|
381 |
.sp -1 |
|
382 |
.IP \(bu 2.3 |
|
383 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
384 |
処理したテキストを生成されたパッケージのサマリー・ページの下部に挿入します。Javaプラットフォーム、Standard Edition API仕様の概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
385 |
(http://docs\&.oracle\&.com/javase/8/docs/api/overview\-summary\&.html)を参照してください |
23600 | 386 |
.RE |
387 |
.sp |
|
388 |
.RS 4 |
|
389 |
.ie n \{\ |
|
390 |
\h'-04'\(bu\h'+03'\c |
|
391 |
.\} |
|
392 |
.el \{\ |
|
393 |
.sp -1 |
|
394 |
.IP \(bu 2.3 |
|
395 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
396 |
パッケージのサマリー・ページの先頭に、パッケージ・コメントの最初の文をコピーします。さらに、\fBjavadoc\fRコマンドは、概要ページのパッケージ・リストに、パッケージ名とパッケージ・コメントの最初の文を追加します。Javaプラットフォーム、Standard Edition API仕様の概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
397 |
(http://docs\&.oracle\&.com/javase/8/docs/api/overview\-summary\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
398 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
399 |
文の終わりは、クラスやメンバーの主説明の最初の文の終わりと同じルールによって判断されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
400 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
401 |
.SS "概要コメント・ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
402 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
403 |
ドキュメント化する各アプリケーションまたはパッケージ・セットは、独自の概要ドキュメンテーション・コメントを持つことができ、それは専用のソース・ファイルに保持されます。その内容は、\fBjavadoc\fRコマンドによって生成される概要ページに組み込まれます。このコメントには、通常、アプリケーションまたはパッケージ・セット全体に当てはまるドキュメントを記述します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
404 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
405 |
このファイルにはoverview\&.htmlなどの名前を付けることができ、どこに配置してもかまいません。一般的な場所は、ソース・ツリーの最上部です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
406 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
407 |
たとえば、\fBjava\&.applet\fRパッケージのソース・ファイルが/home/user/src/java/appletディレクトリに格納されている場合、概要コメント・ファイルは/home/user/src/overview\&.htmlに作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
408 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
409 |
異なるパッケージのセットに対して\fBjavadoc\fRコマンドを複数回実行する場合は、同じ1つのソース・ファイルのセットに対して複数の概要コメント・ファイルを作成できます。たとえば、内部ドキュメント用に\fB\-private\fRを指定して\fBjavadoc\fRコマンドを1回実行した後、公開ドキュメント用にそのオプションを指定しないで再度実行することができます。この場合、各概要コメント・ファイルの1文目で、そのドキュメントを公開用または内部用として記述できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
410 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
411 |
概要コメント・ファイルの内容は、HTMLで記述された1つの大きなドキュメンテーション・コメントです。最初の文はアプリケーションまたはパッケージのセットのサマリーとします。\fB<body>\fRタグと最初の文の間にタイトルやその他のテキストを含めないようにします。{\fB@link}\fRなどのインライン・タグを除くすべてのタグは、主説明の後に配置する必要があります。\fB@see\fRタグを追加する場合には、完全修飾名を使用する必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
412 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
413 |
\fBjavadoc\fRコマンドの実行時に、\fB\-overview\fRオプションを使用して概要コメント・ファイル名を指定します。このファイルは、パッケージ・コメント・ファイルと同じように処理されます。\fBjavadoc\fRコマンドは次の手順を実行します。 |
23600 | 414 |
.sp |
415 |
.RS 4 |
|
416 |
.ie n \{\ |
|
417 |
\h'-04'\(bu\h'+03'\c |
|
418 |
.\} |
|
419 |
.el \{\ |
|
420 |
.sp -1 |
|
421 |
.IP \(bu 2.3 |
|
422 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
423 |
\fB<body>\fRと\fB</body>\fRタグ間で、処理するすべてのコンテンツをコピーします。 |
23600 | 424 |
.RE |
425 |
.sp |
|
426 |
.RS 4 |
|
427 |
.ie n \{\ |
|
428 |
\h'-04'\(bu\h'+03'\c |
|
429 |
.\} |
|
430 |
.el \{\ |
|
431 |
.sp -1 |
|
432 |
.IP \(bu 2.3 |
|
433 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
434 |
概要タグがあれば処理します。概要タグを参照してください。 |
23600 | 435 |
.RE |
436 |
.sp |
|
437 |
.RS 4 |
|
438 |
.ie n \{\ |
|
439 |
\h'-04'\(bu\h'+03'\c |
|
440 |
.\} |
|
441 |
.el \{\ |
|
442 |
.sp -1 |
|
443 |
.IP \(bu 2.3 |
|
444 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
445 |
処理したテキストを生成された概要ページの下部に挿入します。JavaプラットフォームStandard Edition API仕様の概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
446 |
(http://docs\&.oracle\&.com/javase/8/docs/api/overview\-summary\&.html)を参照してください |
23600 | 447 |
.RE |
448 |
.sp |
|
449 |
.RS 4 |
|
450 |
.ie n \{\ |
|
451 |
\h'-04'\(bu\h'+03'\c |
|
452 |
.\} |
|
453 |
.el \{\ |
|
454 |
.sp -1 |
|
455 |
.IP \(bu 2.3 |
|
456 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
457 |
概要サマリー・ページの先頭に、概要コメントの最初の文をコピーします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
458 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
459 |
.SS "未処理のファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
460 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
461 |
ソース・ファイルには、\fBjavadoc\fRコマンドによって宛先ディレクトリにコピーされる、任意のファイルを含めることができます。このようなファイルには、通常、グラフィック・ファイル、サンプルのJavaソースおよびクラス・ファイル、一般的なJavaソース・ファイルのドキュメンテーション・コメントの影響を受けない多くの内容を含む独立したHTMLファイルなどがあります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
462 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
463 |
未処理のファイルを含めるには、doc\-filesというディレクトリにファイルを配置します。doc\-filesディレクトリは、ソース・ファイルを含む任意のパッケージ・ディレクトリのサブディレクトリになることができます。doc\-filesサブディレクトリは、パッケージごとに1つ用意できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
464 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
465 |
たとえば、ボタンのイメージを\fBjava\&.awt\&.Button\fRクラスのドキュメントに含める場合には、そのイメージ・ファイルを/home/user/src/java/awt/doc\-files/ディレクトリに置きます。doc\-filesディレクトリを/home/user/src/java/doc\-filesに置かないでください。javaはパッケージではないからです。ソース・ファイルを含めることもできません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
466 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
467 |
\fBjavadoc\fRコマンドはファイルを参照しないので、未処理のファイルへのすべてのリンクは、コードに含まれている必要があります。\fBjavadoc\fRコマンドはディレクトリとそのすべての内容を宛先にコピーします。次の例では、Button\&.javaドキュメンテーション・コメントのリンクがどのように見えるかを示しています。 |
23600 | 468 |
.sp |
469 |
.if n \{\ |
|
470 |
.RS 4 |
|
471 |
.\} |
|
2692 | 472 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
473 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
474 |
\fB * This button looks like this: \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
475 |
\fB * <img src="doc\-files/Button\&.gif">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
476 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
477 |
|
23600 | 478 |
.fi |
479 |
.if n \{\ |
|
480 |
.RE |
|
481 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
482 |
.SS "テストおよびテンプレート・ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
483 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
484 |
ソース・ツリーのテストおよびテンプレート・ファイルを、ソース・ファイルが存在するディレクトリまたはサブディレクトリと同じディレクトリに格納できます。テストおよびテンプレート・ファイルが処理されるのを防ぐには、\fBjavadoc\fRコマンドを実行し、明示的に個別のソース・ファイル名を渡します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
485 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
486 |
テスト・ファイルは、有効な、コンパイル可能なソース・ファイルです。テンプレート・ファイルは、有効な、互換性のあるソース・ファイルではありませんが、多くの場合、\fB\&.java\fR接尾辞を持っています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
487 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
488 |
テスト・ファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
489 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
490 |
テスト・ファイルを、名前なしパッケージや、ソース・ファイルが存在するパッケージとは別のパッケージに属するようにする場合、テスト・ファイルをソース・ファイルの下のサブディレクトリに配置し、そのディレクトリに無効な名前を付けます。テスト・ファイルをソースと同じディレクトリに配置し、パッケージ名を示すコマンド行引数を指定して\fBjavadoc\fRコマンドを呼び出すと、テスト・ファイルは警告またはエラーを引き起こします。ファイルが無効な名前を持つサブディレクトリ内に存在する場合、テスト・ファイル・ディレクトリはスキップされ、エラーまたは警告は発行されません。たとえば、ソース・ファイルのテスト・ファイルをcom\&.package1に追加するには、無効なパッケージ名のサブディレクトリに配置します。次のディレクトリ名にはハイフンが含まれているため無効です。 |
23600 | 491 |
.sp |
492 |
.if n \{\ |
|
493 |
.RS 4 |
|
494 |
.\} |
|
2692 | 495 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
496 |
\fBcom/package1/test\-files/\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
497 |
|
2692 | 498 |
.fi |
23600 | 499 |
.if n \{\ |
500 |
.RE |
|
501 |
.\} |
|
502 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
503 |
テスト・ファイルにドキュメンテーション・コメントが含まれる場合、\fBjavadoc\fRコマンドの個別の実行で、ワイルドカードを含んだテスト・ソース・ファイル名(\fBcom/package1/test\-files/*\&.java\fRなど)を渡して、テスト・ファイルのドキュメントを生成するように設定できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
504 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
505 |
テンプレート・ファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
506 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
507 |
テンプレート・ファイルをソース・ディレクトリに配置するが、\fBjavadoc\fRコマンドを実行するときにエラーを生成しない場合、ファイルに\fBBuffer\-Template\&.java\fRなどの無効な名前を付けて、処理させないようにします。\fBjavadoc\fRコマンドは、接尾辞の\fB\&.java\fRが削除されると有効なクラス名になる名前を持つソース・ファイルのみを処理します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
508 |
.SH "生成されるファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
509 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
510 |
デフォルトでは、\fBjavadoc\fRコマンドは、HTML形式のドキュメントを生成する標準ドックレットを使用します。標準ドックレットは、ここで説明する、基本内容ページ、相互参照ページ、サポート・ページを生成します。各HTMLページは個別のファイルに対応します。\fBjavadoc\fRコマンドは、2つのタイプのファイルを生成します。最初のタイプには、クラスおよびインタフェースに応じた名前が付けられます。2番目のタイプには、最初のタイプのファイルとの競合を防ぐために、ハイフンが含まれます(package\-summary\&.htmlなど)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
511 |
.SS "基本内容ページ" |
23600 | 512 |
.sp |
513 |
.RS 4 |
|
514 |
.ie n \{\ |
|
515 |
\h'-04'\(bu\h'+03'\c |
|
516 |
.\} |
|
517 |
.el \{\ |
|
518 |
.sp -1 |
|
519 |
.IP \(bu 2.3 |
|
520 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
521 |
記載されているクラスまたはインタフェースごとに1つのクラスまたはインタフェース・ページ(classname\&.html)。 |
23600 | 522 |
.RE |
523 |
.sp |
|
524 |
.RS 4 |
|
525 |
.ie n \{\ |
|
526 |
\h'-04'\(bu\h'+03'\c |
|
527 |
.\} |
|
528 |
.el \{\ |
|
529 |
.sp -1 |
|
530 |
.IP \(bu 2.3 |
|
531 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
532 |
記載されているパッケージごとに1つのパッケージ・ページ(package\-summary\&.html)。\fBjavadoc\fRコマンドは、ソース・ツリーのパッケージ・ディレクトリ内にあるpackage\&.htmlまたはpackage\-info\&.javaという名前のファイル内のHTMLテキストをすべて組み入れます。 |
23600 | 533 |
.RE |
534 |
.sp |
|
535 |
.RS 4 |
|
536 |
.ie n \{\ |
|
537 |
\h'-04'\(bu\h'+03'\c |
|
538 |
.\} |
|
539 |
.el \{\ |
|
540 |
.sp -1 |
|
541 |
.IP \(bu 2.3 |
|
542 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
543 |
パッケージのセット全体に対して1つの概要ページ(overview\-summary\&.html)。概要ページは、生成ドキュメントの先頭ページになります。\fBjavadoc\fRコマンドは、\fB\-overview\fRオプションで指定されたファイル内のHTMLテキストをすべて組み入れます。概要ページが作成されるのは、\fBjavadoc\fRコマンドに複数のパッケージ名を渡した場合のみです。HTMLフレームおよびオプションを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
544 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
545 |
.SS "相互参照ページ" |
23600 | 546 |
.sp |
547 |
.RS 4 |
|
548 |
.ie n \{\ |
|
549 |
\h'-04'\(bu\h'+03'\c |
|
550 |
.\} |
|
551 |
.el \{\ |
|
552 |
.sp -1 |
|
553 |
.IP \(bu 2.3 |
|
554 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
555 |
パッケージのセット全体に対して1つのクラス階層ページ(overview\-tree\&.html)。階層ページを表示するには、ナビゲーション・バーの「概要」をクリックしてから、「階層ツリー」をクリックします。 |
23600 | 556 |
.RE |
557 |
.sp |
|
558 |
.RS 4 |
|
559 |
.ie n \{\ |
|
560 |
\h'-04'\(bu\h'+03'\c |
|
561 |
.\} |
|
562 |
.el \{\ |
|
563 |
.sp -1 |
|
564 |
.IP \(bu 2.3 |
|
565 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
566 |
パッケージごとに1つのクラス階層ページ(package\-tree\&.html)。階層ページを表示するには、特定のパッケージ、クラス、またはインタフェースのページに移動し、「階層ツリー」をクリックしてそのパッケージの階層を表示します。 |
23600 | 567 |
.RE |
568 |
.sp |
|
569 |
.RS 4 |
|
570 |
.ie n \{\ |
|
571 |
\h'-04'\(bu\h'+03'\c |
|
572 |
.\} |
|
573 |
.el \{\ |
|
574 |
.sp -1 |
|
575 |
.IP \(bu 2.3 |
|
576 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
577 |
パッケージごとに1つの使用ページ(package\-use\&.html)と、クラスおよびインタフェースごとに1つずつの使用ページ(class\-use/classname\&.html)。使用ページでは、指定したクラス、インタフェース、またはパッケージの一部を使用しているパッケージ、クラス、メソッド、コンストラクタ、およびフィールドについて記述されます。たとえば、クラスまたはインタフェースAを例にすると、その使用ページには、Aのサブクラス、Aとして宣言されたフィールド、Aを返すメソッド、A型のパラメータを持つメソッドおよびコンストラクタが組み込まれます。使用ページを表示するには、パッケージ、クラス、またはインタフェースに移動し、ナビゲーション・バーの「使用」リンクをクリックします。 |
23600 | 578 |
.RE |
579 |
.sp |
|
580 |
.RS 4 |
|
581 |
.ie n \{\ |
|
582 |
\h'-04'\(bu\h'+03'\c |
|
583 |
.\} |
|
584 |
.el \{\ |
|
585 |
.sp -1 |
|
586 |
.IP \(bu 2.3 |
|
587 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
588 |
すべての非推奨APIとその推奨する代替をリストする非推奨APIページ(deprecated\-list\&.html)。非推奨APIは将来の実装で削除される可能性があるので使用しないでください。 |
23600 | 589 |
.RE |
590 |
.sp |
|
591 |
.RS 4 |
|
592 |
.ie n \{\ |
|
593 |
\h'-04'\(bu\h'+03'\c |
|
594 |
.\} |
|
595 |
.el \{\ |
|
596 |
.sp -1 |
|
597 |
.IP \(bu 2.3 |
|
598 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
599 |
定数フィールドの値用の定数フィールド値ページ(constant\-values\&.html)。 |
23600 | 600 |
.RE |
601 |
.sp |
|
602 |
.RS 4 |
|
603 |
.ie n \{\ |
|
604 |
\h'-04'\(bu\h'+03'\c |
|
605 |
.\} |
|
606 |
.el \{\ |
|
607 |
.sp -1 |
|
608 |
.IP \(bu 2.3 |
|
609 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
610 |
直列化された形式ページ(serialized\-form\&.html)。フィールドおよびメソッドの説明を含む、直列化可能かつ外部化可能なクラスに関する情報用のページです。このページ内の情報は、APIを使用する開発者ではなく、再実装者に必要な情報です。直列化された形式ページへアクセスするには、直列化されたクラスに移動して、そのクラス・コメントにある「関連項目」セクションで「直列化された形式」をクリックします。標準ドックレットは直列化された形式ページを生成します。このページには、Serializableを実装するすべてのクラス(publicまたは非public)が、その\fBreadObject\fRや\fBwriteObject\fRメソッド、直列化されたフィールド、および\fB@serial\fR、\fB@serialField\fR、\fB@serialData\fRタグからのドキュメンテーション・コメントとともにリストされます。直列化可能なpublicクラスを除外するには、そのクラス(またはそのパッケージ)を\fB@serial\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
611 |
excludeでマークします。直列化可能なpackage\-privateクラスを含めるには、そのクラス(またはそのパッケージ)を\fB@serial\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
612 |
includeでマークします。リリース1\&.4では、\fB\-private\fRオプションを指定せずに\fBjavadoc\fRコマンドを実行することにより、publicクラスおよびprivateクラスの完全に直列化された形式を生成できます。オプションを参照してください。 |
23600 | 613 |
.RE |
614 |
.sp |
|
615 |
.RS 4 |
|
616 |
.ie n \{\ |
|
617 |
\h'-04'\(bu\h'+03'\c |
|
618 |
.\} |
|
619 |
.el \{\ |
|
620 |
.sp -1 |
|
621 |
.IP \(bu 2.3 |
|
622 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
623 |
索引ページ(\fBindex\-*\&.html\fR)。すべてのクラス名、インタフェース名、コンストラクタ名、フィールド名、およびメソッド名がアルファベット順に並んでいます。索引ページは、Unicodeを扱えるように国際化されています。1つのファイルとして生成することも、先頭文字(英語の場合A\(enZ)ごとに別々のファイルとして生成することもできます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
624 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
625 |
.SS "サポート・ページ" |
23600 | 626 |
.sp |
627 |
.RS 4 |
|
628 |
.ie n \{\ |
|
629 |
\h'-04'\(bu\h'+03'\c |
|
630 |
.\} |
|
631 |
.el \{\ |
|
632 |
.sp -1 |
|
633 |
.IP \(bu 2.3 |
|
634 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
635 |
ヘルプ・ページ(help\-doc\&.html)。ナビゲーション・バーや前述の各ページに関する説明が記載されています。デフォルトのヘルプ・ファイルを独自のカスタム・ヘルプ・ファイルでオーバーライドするには、\fB\-helpfile\fRを使用します。 |
23600 | 636 |
.RE |
637 |
.sp |
|
638 |
.RS 4 |
|
639 |
.ie n \{\ |
|
640 |
\h'-04'\(bu\h'+03'\c |
|
641 |
.\} |
|
642 |
.el \{\ |
|
643 |
.sp -1 |
|
644 |
.IP \(bu 2.3 |
|
645 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
646 |
表示用のHTMLフレームを作成する1つのindex\&.htmlファイル。フレーム付きの先頭ページを表示するにはこのファイルをロードします。index\&.htmlファイルには、テキスト・コンテンツは含まれていません。 |
23600 | 647 |
.RE |
648 |
.sp |
|
649 |
.RS 4 |
|
650 |
.ie n \{\ |
|
651 |
\h'-04'\(bu\h'+03'\c |
|
652 |
.\} |
|
653 |
.el \{\ |
|
654 |
.sp -1 |
|
655 |
.IP \(bu 2.3 |
|
656 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
657 |
複数のフレーム・ファイル(\fB*\-frame\&.html\fR)。パッケージ、クラス、およびインタフェースのリストが含まれています。フレーム・ファイルはHTMLフレームを表示します。 |
23600 | 658 |
.RE |
659 |
.sp |
|
660 |
.RS 4 |
|
661 |
.ie n \{\ |
|
662 |
\h'-04'\(bu\h'+03'\c |
|
663 |
.\} |
|
664 |
.el \{\ |
|
665 |
.sp -1 |
|
666 |
.IP \(bu 2.3 |
|
667 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
668 |
パッケージ・リスト・ファイル(package\-list)。\fB\-link\fRおよび\fB\-linkoffline\fRオプションで使用されます。パッケージ・リスト・ファイルはテキスト・ファイルであり、どのリンクからもアクセスできません。 |
23600 | 669 |
.RE |
670 |
.sp |
|
671 |
.RS 4 |
|
672 |
.ie n \{\ |
|
673 |
\h'-04'\(bu\h'+03'\c |
|
674 |
.\} |
|
675 |
.el \{\ |
|
676 |
.sp -1 |
|
677 |
.IP \(bu 2.3 |
|
678 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
679 |
スタイルシート・ファイル(stylesheet\&.css)。生成されるページの一部の要素について色、フォント・ファミリ、フォント・サイズ、フォント・スタイル、および配置を制御します。 |
23600 | 680 |
.RE |
681 |
.sp |
|
682 |
.RS 4 |
|
683 |
.ie n \{\ |
|
684 |
\h'-04'\(bu\h'+03'\c |
|
685 |
.\} |
|
686 |
.el \{\ |
|
687 |
.sp -1 |
|
688 |
.IP \(bu 2.3 |
|
689 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
690 |
doc\-filesディレクトリ。宛先ディレクトリにコピーするイメージ、サンプル・コード、ソース・コードなどのファイルが格納されます。これらのファイルは、\fBjavadoc\fRコマンドによって処理されません。このディレクトリは、ソース・ツリーの中に存在する場合にのみ処理されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
691 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
692 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
693 |
オプションを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
694 |
.SS "HTMLフレーム" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
695 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
696 |
\fBjavadoc\fRコマンドは、コマンドに渡された値に基づき、最小限必要な数(2または3)のフレームを生成します。\fBjavadoc\fRコマンドに引数として1つのパッケージ名または1つのパッケージに含まれるソース・ファイルを渡す場合は、パッケージのリストが省略されます。そのかわりに、\fBjavadoc\fRコマンドは左側の列に1つのフレームを作成し、クラスのリストを表示します。複数のパッケージ名を渡した場合は、\fBjavadoc\fRコマンドは、すべてのパッケージをリストする第3のフレームと概要ページ(overview\-summary\&.html)を作成します。フレームを省略するには、「フレームなし」リンクをクリックするか、overview\-summary\&.htmlページからページ・セットを表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
697 |
.SS "生成されるファイルの構造" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
698 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
699 |
生成されるクラス・ファイルおよびインタフェース・ファイルは、Javaソース・ファイルおよびクラス・ファイルと同じディレクトリ階層に編成されます。1つのサブパッケージにつき1つのディレクトリ、という構造になります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
700 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
701 |
たとえば、\fBjava\&.applet\&.Applet\fRクラス用に生成されるドキュメントは、java/applet/Applet\&.htmlに格納されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
702 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
703 |
生成先ディレクトリの名前が\fBapidocs\fRだとすると、\fBjava\&.applet\fRパッケージのファイルの構造は、次のとおりです。前述のように、\fIframe\fRという語を名前に含むファイルは、すべて左上または左下のフレームに表示されます。それ以外のHTMLファイルは、すべて右側のフレームに表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
704 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
705 |
ディレクトリは太字です。アスタリスク(*)は、\fBjavadoc\fRコマンドへの引数がパッケージ名ではなくソース・ファイル名である場合に省略されるファイルおよびディレクトリを示しています。引数がソース・ファイル名の場合、空のパッケージ・リストが作成されます。doc\-filesディレクトリは、ソース・ツリー内に存在する場合にのみ、生成先に作成されます。生成されるファイルを参照してください。 |
23600 | 706 |
.sp |
707 |
.RS 4 |
|
708 |
.ie n \{\ |
|
709 |
\h'-04'\(bu\h'+03'\c |
|
710 |
.\} |
|
711 |
.el \{\ |
|
712 |
.sp -1 |
|
713 |
.IP \(bu 2.3 |
|
714 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
715 |
\fBapidocs\fR: 最上位レベル・ディレクトリ |
23600 | 716 |
.sp |
717 |
.RS 4 |
|
718 |
.ie n \{\ |
|
719 |
\h'-04'\(bu\h'+03'\c |
|
720 |
.\} |
|
721 |
.el \{\ |
|
722 |
.sp -1 |
|
723 |
.IP \(bu 2.3 |
|
724 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
725 |
index\&.html: HTMLフレームを設定する初期ページ |
23600 | 726 |
.RE |
727 |
.sp |
|
728 |
.RS 4 |
|
729 |
.ie n \{\ |
|
730 |
\h'-04'\(bu\h'+03'\c |
|
731 |
.\} |
|
732 |
.el \{\ |
|
733 |
.sp -1 |
|
734 |
.IP \(bu 2.3 |
|
735 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
736 |
*overview\-summary\&.html: パッケージ・リストとサマリー |
23600 | 737 |
.RE |
738 |
.sp |
|
739 |
.RS 4 |
|
740 |
.ie n \{\ |
|
741 |
\h'-04'\(bu\h'+03'\c |
|
742 |
.\} |
|
743 |
.el \{\ |
|
744 |
.sp -1 |
|
745 |
.IP \(bu 2.3 |
|
746 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
747 |
overview\-tree\&.html: すべてのパッケージのクラス階層 |
23600 | 748 |
.RE |
749 |
.sp |
|
750 |
.RS 4 |
|
751 |
.ie n \{\ |
|
752 |
\h'-04'\(bu\h'+03'\c |
|
753 |
.\} |
|
754 |
.el \{\ |
|
755 |
.sp -1 |
|
756 |
.IP \(bu 2.3 |
|
757 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
758 |
deprecated\-list\&.html: すべてのパッケージの非推奨API |
23600 | 759 |
.RE |
760 |
.sp |
|
761 |
.RS 4 |
|
762 |
.ie n \{\ |
|
763 |
\h'-04'\(bu\h'+03'\c |
|
764 |
.\} |
|
765 |
.el \{\ |
|
766 |
.sp -1 |
|
767 |
.IP \(bu 2.3 |
|
768 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
769 |
constant\-values\&.html: すべてのパッケージの静的フィールド値 |
23600 | 770 |
.RE |
771 |
.sp |
|
772 |
.RS 4 |
|
773 |
.ie n \{\ |
|
774 |
\h'-04'\(bu\h'+03'\c |
|
775 |
.\} |
|
776 |
.el \{\ |
|
777 |
.sp -1 |
|
778 |
.IP \(bu 2.3 |
|
779 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
780 |
serialized\-form\&.html: すべてのパッケージの直列化されたフォーム |
23600 | 781 |
.RE |
782 |
.sp |
|
783 |
.RS 4 |
|
784 |
.ie n \{\ |
|
785 |
\h'-04'\(bu\h'+03'\c |
|
786 |
.\} |
|
787 |
.el \{\ |
|
788 |
.sp -1 |
|
789 |
.IP \(bu 2.3 |
|
790 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
791 |
*overview\-frame\&.html: 左上のフレームに表示するすべてのパッケージ |
23600 | 792 |
.RE |
793 |
.sp |
|
794 |
.RS 4 |
|
795 |
.ie n \{\ |
|
796 |
\h'-04'\(bu\h'+03'\c |
|
797 |
.\} |
|
798 |
.el \{\ |
|
799 |
.sp -1 |
|
800 |
.IP \(bu 2.3 |
|
801 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
802 |
allclasses\-frame\&.html: 左下のフレームに表示するすべてのクラス |
23600 | 803 |
.RE |
804 |
.sp |
|
805 |
.RS 4 |
|
806 |
.ie n \{\ |
|
807 |
\h'-04'\(bu\h'+03'\c |
|
808 |
.\} |
|
809 |
.el \{\ |
|
810 |
.sp -1 |
|
811 |
.IP \(bu 2.3 |
|
812 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
813 |
help\-doc\&.html: Javadocページの編成に関するヘルプ |
23600 | 814 |
.RE |
815 |
.sp |
|
816 |
.RS 4 |
|
817 |
.ie n \{\ |
|
818 |
\h'-04'\(bu\h'+03'\c |
|
819 |
.\} |
|
820 |
.el \{\ |
|
821 |
.sp -1 |
|
822 |
.IP \(bu 2.3 |
|
823 |
.\} |
|
824 |
index\-all\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
825 |
\fB\-splitindex\fRオプションなしで作成されたデフォルトの索引 |
23600 | 826 |
.RE |
827 |
.sp |
|
828 |
.RS 4 |
|
829 |
.ie n \{\ |
|
830 |
\h'-04'\(bu\h'+03'\c |
|
831 |
.\} |
|
832 |
.el \{\ |
|
833 |
.sp -1 |
|
834 |
.IP \(bu 2.3 |
|
835 |
.\} |
|
836 |
\fBindex\-files\fR: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
837 |
\fB\-splitindex\fRオプションを指定して作成されたディレクトリ |
23600 | 838 |
.sp |
839 |
.RS 4 |
|
840 |
.ie n \{\ |
|
841 |
\h'-04'\(bu\h'+03'\c |
|
842 |
.\} |
|
843 |
.el \{\ |
|
844 |
.sp -1 |
|
845 |
.IP \(bu 2.3 |
|
846 |
.\} |
|
847 |
index\-<number>\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
848 |
\fB\-splitindex\fRオプションを指定して作成された索引ファイル |
23600 | 849 |
.RE |
850 |
.RE |
|
851 |
.sp |
|
852 |
.RS 4 |
|
853 |
.ie n \{\ |
|
854 |
\h'-04'\(bu\h'+03'\c |
|
855 |
.\} |
|
856 |
.el \{\ |
|
857 |
.sp -1 |
|
858 |
.IP \(bu 2.3 |
|
859 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
860 |
package\-list: 外部参照を解決するためのパッケージ名 |
23600 | 861 |
.RE |
862 |
.sp |
|
863 |
.RS 4 |
|
864 |
.ie n \{\ |
|
865 |
\h'-04'\(bu\h'+03'\c |
|
866 |
.\} |
|
867 |
.el \{\ |
|
868 |
.sp -1 |
|
869 |
.IP \(bu 2.3 |
|
870 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
871 |
stylesheet\&.css: フォント、色、位置などを定義します |
23600 | 872 |
.RE |
873 |
.RE |
|
874 |
.sp |
|
875 |
.RS 4 |
|
876 |
.ie n \{\ |
|
877 |
\h'-04'\(bu\h'+03'\c |
|
878 |
.\} |
|
879 |
.el \{\ |
|
880 |
.sp -1 |
|
881 |
.IP \(bu 2.3 |
|
882 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
883 |
\fBjava\fR: パッケージ・ディレクトリ |
23600 | 884 |
.sp |
885 |
.RS 4 |
|
886 |
.ie n \{\ |
|
887 |
\h'-04'\(bu\h'+03'\c |
|
888 |
.\} |
|
889 |
.el \{\ |
|
890 |
.sp -1 |
|
891 |
.IP \(bu 2.3 |
|
892 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
893 |
\fBapplet\fR: サブパッケージ・ディレクトリ |
23600 | 894 |
.sp |
895 |
.RS 4 |
|
896 |
.ie n \{\ |
|
897 |
\h'-04'\(bu\h'+03'\c |
|
898 |
.\} |
|
899 |
.el \{\ |
|
900 |
.sp -1 |
|
901 |
.IP \(bu 2.3 |
|
902 |
.\} |
|
903 |
Applet\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
904 |
\fBApplet\fRクラス・ページ |
23600 | 905 |
.RE |
906 |
.sp |
|
907 |
.RS 4 |
|
908 |
.ie n \{\ |
|
909 |
\h'-04'\(bu\h'+03'\c |
|
910 |
.\} |
|
911 |
.el \{\ |
|
912 |
.sp -1 |
|
913 |
.IP \(bu 2.3 |
|
914 |
.\} |
|
915 |
AppletContext\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
916 |
\fBAppletContext\fRインタフェース |
23600 | 917 |
.RE |
918 |
.sp |
|
919 |
.RS 4 |
|
920 |
.ie n \{\ |
|
921 |
\h'-04'\(bu\h'+03'\c |
|
922 |
.\} |
|
923 |
.el \{\ |
|
924 |
.sp -1 |
|
925 |
.IP \(bu 2.3 |
|
926 |
.\} |
|
927 |
AppletStub\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
928 |
\fBAppletStub\fRインタフェース |
23600 | 929 |
.RE |
930 |
.sp |
|
931 |
.RS 4 |
|
932 |
.ie n \{\ |
|
933 |
\h'-04'\(bu\h'+03'\c |
|
934 |
.\} |
|
935 |
.el \{\ |
|
936 |
.sp -1 |
|
937 |
.IP \(bu 2.3 |
|
938 |
.\} |
|
939 |
AudioClip\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
940 |
\fBAudioClip\fRインタフェース |
23600 | 941 |
.RE |
942 |
.sp |
|
943 |
.RS 4 |
|
944 |
.ie n \{\ |
|
945 |
\h'-04'\(bu\h'+03'\c |
|
946 |
.\} |
|
947 |
.el \{\ |
|
948 |
.sp -1 |
|
949 |
.IP \(bu 2.3 |
|
950 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
951 |
package\-summary\&.html: クラスとサマリー |
23600 | 952 |
.RE |
953 |
.sp |
|
954 |
.RS 4 |
|
955 |
.ie n \{\ |
|
956 |
\h'-04'\(bu\h'+03'\c |
|
957 |
.\} |
|
958 |
.el \{\ |
|
959 |
.sp -1 |
|
960 |
.IP \(bu 2.3 |
|
961 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
962 |
package\-frame\&.html: 左下のフレームに表示するパッケージ・クラス |
23600 | 963 |
.RE |
964 |
.sp |
|
965 |
.RS 4 |
|
966 |
.ie n \{\ |
|
967 |
\h'-04'\(bu\h'+03'\c |
|
968 |
.\} |
|
969 |
.el \{\ |
|
970 |
.sp -1 |
|
971 |
.IP \(bu 2.3 |
|
972 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
973 |
package\-tree\&.html: このパッケージのクラス階層 |
23600 | 974 |
.RE |
975 |
.sp |
|
976 |
.RS 4 |
|
977 |
.ie n \{\ |
|
978 |
\h'-04'\(bu\h'+03'\c |
|
979 |
.\} |
|
980 |
.el \{\ |
|
981 |
.sp -1 |
|
982 |
.IP \(bu 2.3 |
|
983 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
984 |
package\-use\&.html: このパッケージが使用される場所 |
23600 | 985 |
.RE |
986 |
.sp |
|
987 |
.RS 4 |
|
988 |
.ie n \{\ |
|
989 |
\h'-04'\(bu\h'+03'\c |
|
990 |
.\} |
|
991 |
.el \{\ |
|
992 |
.sp -1 |
|
993 |
.IP \(bu 2.3 |
|
994 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
995 |
\fBdoc\-files\fR: イメージおよびサンプル・ファイルのディレクトリ |
23600 | 996 |
.RE |
997 |
.sp |
|
998 |
.RS 4 |
|
999 |
.ie n \{\ |
|
1000 |
\h'-04'\(bu\h'+03'\c |
|
1001 |
.\} |
|
1002 |
.el \{\ |
|
1003 |
.sp -1 |
|
1004 |
.IP \(bu 2.3 |
|
1005 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1006 |
\fBclass\-use\fR: イメージおよびサンプル・ファイルの場所 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1007 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1008 |
\- Applet\&.html: Appletクラスの使用 |
23600 | 1009 |
.sp |
1010 |
\- AppletContext\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1011 |
\fBAppletContext\fRインタフェースの使用 |
23600 | 1012 |
.sp |
1013 |
\- AppletStub\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1014 |
\fBAppletStub\fRインタフェースの使用 |
23600 | 1015 |
.sp |
1016 |
\- AudioClip\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1017 |
\fBAudioClip\fRインタフェースの使用 |
23600 | 1018 |
.RE |
1019 |
.RE |
|
1020 |
.RE |
|
1021 |
.sp |
|
1022 |
.RS 4 |
|
1023 |
.ie n \{\ |
|
1024 |
\h'-04'\(bu\h'+03'\c |
|
1025 |
.\} |
|
1026 |
.el \{\ |
|
1027 |
.sp -1 |
|
1028 |
.IP \(bu 2.3 |
|
1029 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1030 |
\fBsrc\-html\fR: ソース・コード・ディレクトリ |
23600 | 1031 |
.sp |
1032 |
.RS 4 |
|
1033 |
.ie n \{\ |
|
1034 |
\h'-04'\(bu\h'+03'\c |
|
1035 |
.\} |
|
1036 |
.el \{\ |
|
1037 |
.sp -1 |
|
1038 |
.IP \(bu 2.3 |
|
1039 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1040 |
\fBjava\fR: パッケージ・ディレクトリ |
23600 | 1041 |
.sp |
1042 |
.RS 4 |
|
1043 |
.ie n \{\ |
|
1044 |
\h'-04'\(bu\h'+03'\c |
|
1045 |
.\} |
|
1046 |
.el \{\ |
|
1047 |
.sp -1 |
|
1048 |
.IP \(bu 2.3 |
|
1049 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1050 |
\fBapplet\fR: サブパッケージ・ディレクトリ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1051 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1052 |
\- Applet\&.html: Appletソース・コード |
23600 | 1053 |
.sp |
1054 |
\- AppletContext\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1055 |
\fBAppletContext\fRソース・コード |
23600 | 1056 |
.sp |
1057 |
\- AppletStub\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1058 |
\fBAppletStub\fRソース・コード |
23600 | 1059 |
.sp |
1060 |
\- AudioClip\&.html: |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1061 |
\fBAudioClip\fRソース・コード |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1062 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1063 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1064 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1065 |
.SS "生成されるAPI宣言" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1066 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1067 |
\fBjavadoc\fRコマンドは、それぞれのクラス、インタフェース、フィールド、コンストラクタ、およびメソッドの記述の最初に、そのAPI用の宣言を生成します。たとえば、\fBBoolean\fRクラスの宣言は、次のようになります。 |
23600 | 1068 |
.sp |
1069 |
.if n \{\ |
|
1070 |
.RS 4 |
|
1071 |
.\} |
|
2692 | 1072 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1073 |
\fBpublic final class Boolean\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1074 |
\fBextends Object\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1075 |
\fBimplements Serializable\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1076 |
|
2692 | 1077 |
.fi |
23600 | 1078 |
.if n \{\ |
1079 |
.RE |
|
1080 |
.\} |
|
1081 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1082 |
\fBBoolean\&.valueOf\fRメソッドの宣言は次のとおりです。 |
23600 | 1083 |
.sp |
1084 |
.if n \{\ |
|
1085 |
.RS 4 |
|
1086 |
.\} |
|
2 | 1087 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1088 |
\fBpublic static Boolean valueOf(String s)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1089 |
|
2 | 1090 |
.fi |
23600 | 1091 |
.if n \{\ |
1092 |
.RE |
|
1093 |
.\} |
|
1094 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1095 |
\fBjavadoc\fRコマンドは、修飾子\fBpublic\fR、\fBprotected\fR、\fBprivate\fR、\fBabstract\fR、\fBfinal\fR、\fBstatic\fR、\fBtransient\fR、および\fBvolatile\fRを含めることができますが、\fBsynchronized\fRおよび\fBnative\fRはできません。\fBsynchronized\fRおよび\fBnative\fR修飾子は、実装の詳細とみなされているため、API仕様には含まれません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1096 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1097 |
APIでは、並行性セマンティクスについて、キーワード\fBsynchronized\fRに依存するのではなく、コメントの主説明としてドキュメント化する必要があります。たとえば、「1つのenumerationを複数のスレッドから並行して使用することはできない」のように記述します。ドキュメントには、これらのセマンティクスを実現する方法を記述しないでください。たとえば、\fBHashtable\fRオプションはスレッドセーフである必要がありますが、「エクスポートされるすべてのメソッドを同期化してそれを実現する」のように指定する根拠はありません。より高度な並行性のために、バケット・レベルで内部的に同期化する権限を保有しておくことをお薦めします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1098 |
.SH "ドキュメンテーション・コメント" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1099 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1100 |
このセクションでは、ソース・コードのコメントとコメントの継承について説明します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1101 |
.SS "ソース・コード・コメント" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1102 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1103 |
ソース・コードの任意のクラス、インタフェース、メソッド、コンストラクタ、またはフィールドの宣言の前に、ドキュメンテーション・コメントを記述することができます。各パッケージにもドキュメンテーション・コメントを作成できます。構文は若干異なりますが、概要にもドキュメンテーション・コメントを作成できます。ドキュメンテーション・コメントは、\fB/**\fRと、終わりを表す\fB*/\fRの間にある文字から構成されます。先頭のアスタリスクは各行で使用でき、次の項で詳しく説明します。コメントのテキストは、複数行にわたって記述できます。 |
23600 | 1104 |
.sp |
1105 |
.if n \{\ |
|
1106 |
.RS 4 |
|
1107 |
.\} |
|
2 | 1108 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1109 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1110 |
\fB * This is the typical format of a simple documentation comment\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1111 |
\fB * that spans two lines\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1112 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1113 |
|
2 | 1114 |
.fi |
23600 | 1115 |
.if n \{\ |
1116 |
.RE |
|
1117 |
.\} |
|
1118 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1119 |
スペースを節約するには、コメントを1行に入れます。 |
23600 | 1120 |
.sp |
1121 |
.if n \{\ |
|
1122 |
.RS 4 |
|
1123 |
.\} |
|
1124 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1125 |
\fB/** This comment takes up only one line\&. */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1126 |
|
23600 | 1127 |
.fi |
1128 |
.if n \{\ |
|
1129 |
.RE |
|
1130 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1131 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1132 |
コメントの配置 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1133 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1134 |
ドキュメンテーション・コメントは、クラス、インタフェース、コンストラクタ、メソッド、またはフィールド宣言の直前に配置される場合にのみ認識されます。メソッドの本体に置かれているドキュメンテーション・コメントは無視されます。\fBjavadoc\fRコマンドは、宣言文ごとに1つのドキュメンテーション・コメントしか認識しません。タグを使用できる場所を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1135 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1136 |
よくある間違いは、クラス・コメントとクラス宣言の間に\fBimport\fR文を置いてしまうことです。\fBjavadoc\fRコマンドはクラス・コメントを無視するので、\fBimport\fR文をこの場所に配置しないでください。 |
23600 | 1137 |
.sp |
1138 |
.if n \{\ |
|
1139 |
.RS 4 |
|
1140 |
.\} |
|
2 | 1141 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1142 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1143 |
\fB * This is the class comment for the class Whatever\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1144 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1145 |
\fB \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1146 |
\fBimport com\&.example; // MISTAKE \- Important not to put import statement here\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1147 |
\fB \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1148 |
\fBpublic class Whatever{ }\fR |
23600 | 1149 |
|
2 | 1150 |
.fi |
23600 | 1151 |
.if n \{\ |
1152 |
.RE |
|
1153 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1154 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1155 |
コメントのパーツ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1156 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1157 |
ドキュメンテーション・コメントには、主説明とその後に続くタグ・セクションが含まれます。主説明は、開始区切り文字\fB/**\fRで始まり、タグ・セクションまで続きます。タグ・セクションは、先頭文字が\fB@\fRの行で定義される最初のブロック・タグから始まります(先頭のアスタリスク、空白文字、先頭の区切り文字\fB/**\fRは除く)。主説明を記述せず、タグ・セクションのみのコメントを記述することもできます。主説明は、タグ・セクション以降に続けることはできません。タグの引数は、複数行にわたって記述できます。タグの数に制限はありません。何回も記述できるタグと、1回しか記述できないタグがあります。たとえば、次の\fB@see\fRタグからタグ・セクションは始まります。 |
23600 | 1158 |
.sp |
1159 |
.if n \{\ |
|
1160 |
.RS 4 |
|
1161 |
.\} |
|
1162 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1163 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1164 |
\fB * This sentence holds the main description for this documentation comment\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1165 |
\fB * @see java\&.lang\&.Object\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1166 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1167 |
|
23600 | 1168 |
.fi |
1169 |
.if n \{\ |
|
1170 |
.RE |
|
1171 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1172 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1173 |
ブロックおよびインライン・タグ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1174 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1175 |
タグは、\fBjavadoc\fRコマンドが処理するドキュメンテーション・コメント内の特殊なキーワードです。タグには2つのタイプがあります。1つは\fB@tag\fRタグのように表記されるブロック・タグ(スタンドアロン・タグとも呼ばれる)、もう1つは\fB{@tag}\fRタグのように中カッコで囲んで表記されるインライン・タグです。ブロック・タグが解釈されるには、行頭のアスタリスク、空白文字、区切り文字(\fB/**\fR)を除いて、行の先頭に置く必要があります。これは、\fB@\fR文字をテキスト内の別の場所で使用しても、タグの開始として解釈されないことを意味しています。\fB@\fR文字を使用して行を開始しても、それが解釈されないようにするには、HTMLエンティティ\fB@\fRを使用します。それぞれのブロック・タグには、関連付けられたテキストがあります。このテキストは、タグの後から、次のタグの前、またはドキュメンテーション・コメントの最後までの間に記述されたテキストです(タグまたはコメント区切り文字を除く)。この関連テキストは、複数行にわたって記述できます。インライン・タグは、テキストを記述できる場所であればどこにでも置くことができ、解釈されます。次の例にはブロック・タグ\fB@deprecated\fRとインライン・タグ\fB{@link}\fRが含まれています。javadocタグを参照してください。 |
23600 | 1176 |
.sp |
1177 |
.if n \{\ |
|
1178 |
.RS 4 |
|
1179 |
.\} |
|
2692 | 1180 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1181 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1182 |
\fB * @deprecated As of JDK 1\&.1, replaced by {@link #setBounds(int,int,int,int)}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1183 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1184 |
|
23600 | 1185 |
.fi |
1186 |
.if n \{\ |
|
1187 |
.RE |
|
1188 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1189 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1190 |
HTMLでのコメントの記述 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1191 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1192 |
テキストはHTMLエンティティとHTMLタグを使用してHTMLで記述される必要があります。使用するブラウザがサポートする任意のHTMLのバージョンを使用できます。標準ドックレットは、カスケーディング・スタイル・シートおよびフレームを含め、ドキュメンテーション・コメント以外の部分でHTML 3\&.2に準拠したコードを生成します。フレーム・セットのため、生成されたファイルにはHTML 4\&.0が推奨されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1193 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1194 |
たとえば、より小さい記号(<)およびより大きい記号(>)のエンティティは、\fB<\fRおよび\fB>\fRと記述する必要があります。同様に、アンパサンド(&)は\fB&\fRと記述する必要があります。次の例では、太字のHTMLタグ\fB<b>\fRを使用しています。 |
23600 | 1195 |
.sp |
1196 |
.if n \{\ |
|
1197 |
.RS 4 |
|
1198 |
.\} |
|
2692 | 1199 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1200 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1201 |
\fB * This is a <b>doc</b> comment\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1202 |
\fB * @see java\&.lang\&.Object\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1203 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1204 |
|
23600 | 1205 |
.fi |
1206 |
.if n \{\ |
|
1207 |
.RE |
|
1208 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1209 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1210 |
先頭のアスタリスク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1211 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1212 |
\fBjavadoc\fRコマンドによるドキュメンテーション・コメントの解析時に、各行の先頭にあるアスタリスク(*)文字は破棄されます。最初のアスタリスク(*)文字より前にある空白やタブも破棄されます。行頭のアスタリスクを省略した場合、インデントを保持したままでサンプル・コードを\fB<PRE>\fRタグ内のドキュメンテーション・コメントに直接貼り付けられるように、先頭の空白文字は削除されなくなります。ブラウザは、空白文字をタブよりも一律に解釈します。インデントの起点は(区切り文字\fB/**\fRまたは\fB<PRE>\fRタグではなく)左マージンになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1213 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1214 |
最初の文 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1215 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1216 |
各ドキュメンテーション・コメントの最初の文は、宣言されているエンティティに関する簡潔かつ完全なサマリー文である必要があります。この文は、空白、タブ、または行終了文字が続く最初のピリオド、または最初のブロック・タグがある位置で終わります。最初の文は、\fBjavadoc\fRコマンドによってHTMLページの先頭にあるメンバーのサマリーの部分にコピーされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1217 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1218 |
複数フィールドの宣言 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1219 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1220 |
Javaプラットフォームでは、1つの文で複数のフィールドを宣言できます。ただし、この文には、1つのドキュメンテーション・コメントしか記述できません。そのコメントが、すべてのフィールドに対してコピーされます。フィールドごとにドキュメンテーション・コメントを記述する必要がある場合は、各フィールドを別々の文で宣言する必要があります。たとえば、次のドキュメンテーション・コメントは、1つの宣言として記述すると不適切です。この場合は、宣言を2つに分けることをお薦めします。 |
23600 | 1221 |
.sp |
1222 |
.if n \{\ |
|
1223 |
.RS 4 |
|
1224 |
.\} |
|
1225 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1226 |
\fB/** \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1227 |
\fB * The horizontal and vertical distances of point (x,y)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1228 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1229 |
\fBpublic int x, y; // Avoid this \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1230 |
\fB \fR |
23600 | 1231 |
.fi |
1232 |
.if n \{\ |
|
1233 |
.RE |
|
1234 |
.\} |
|
1235 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1236 |
\fBjavadoc\fRコマンドは、上のコードから次のようなドキュメントを生成します。 |
23600 | 1237 |
.sp |
1238 |
.if n \{\ |
|
1239 |
.RS 4 |
|
1240 |
.\} |
|
1241 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1242 |
\fBpublic int x\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1243 |
|
23600 | 1244 |
.fi |
1245 |
.if n \{\ |
|
1246 |
.RE |
|
1247 |
.\} |
|
1248 |
.PP |
|
1249 |
The horizontal and vertical distances of point (x, y)\&. |
|
1250 |
.sp |
|
1251 |
.if n \{\ |
|
1252 |
.RS 4 |
|
1253 |
.\} |
|
2692 | 1254 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1255 |
\fBpublic int y\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1256 |
|
23600 | 1257 |
.fi |
1258 |
.if n \{\ |
|
1259 |
.RE |
|
1260 |
.\} |
|
1261 |
.PP |
|
1262 |
The horizontal and vertical distances of point (x, y)\&. |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1263 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1264 |
ヘッダー・タグの使用 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1265 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1266 |
メンバーに対してドキュメンテーション・コメントを記述するときには、\fB<H1>\fRおよび\fB<H2>\fRなどのHTML見出しタグを使用しないことをお薦めします。\fBjavadoc\fRコマンドは、完全な構造化ドキュメントを作成するので、このような構造化タグが使用されていると、生成ドキュメントの形式が悪影響を受けることがあります。ただし、クラスやパッケージのコメントでは、これらの見出しを使用して独自の構造を指定してかまいません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1267 |
.SS "メソッド・コメントの継承" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1268 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1269 |
\fBjavadoc\fRコマンドでは、クラスおよびインタフェースでメソッド・コメントを継承して、欠落したテキストを入力したり、明示的にメソッド・コメントを継承することができます。コンストラクタ、フィールド、およびネストされたクラスは、ドキュメンテーション・コメントを継承しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1270 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1271 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1272 |
ドキュメンテーション・コメントをコピーに利用するには、継承したメソッドのソース・ファイルが\fB\-sourcepath\fRオプションで指定したパスのみに置かれている必要があります。コマンド行で、クラスもパッケージも渡す必要はありません。この点はリリース1\&.3\&.\fIn\fR以前とは対照的です。これまでは、クラスがドキュメント化されるクラスであることが必要でした。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1273 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1274 |
欠落テキストの入力 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1275 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1276 |
主説明、または\fB@return\fR、\fB@param\fR、\fB@throws\fRタグがメソッド・コメントから欠落している場合、\fBjavadoc\fRコマンドは、対応する主説明またはタグ・コメントを、それがオーバーライドまたは実装しているメソッド(ある場合)からコピーします。メソッド・コメントの継承を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1277 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1278 |
特定のパラメータの\fB@param\fRタグが見つからない場合、そのパラメータのコメントが、上位の継承階層のメソッドからコピーされます。特定の例外の\fB@throws\fRタグが見つからない場合、その例外が宣言されている場合にかぎり、\fB@throws\fRタグがコピーされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1279 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1280 |
この動作はリリース1\&.3以前の動作とは対照的です。これまでのバージョンでは、主説明またはタグが存在すれば、コメントは一切継承されませんでした。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1281 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1282 |
javadocタグおよびオプションを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1283 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1284 |
明示的な継承 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1285 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1286 |
\fB{@inheritDoc}\fRインライン・タグをメソッドの主説明または\fB@return\fR、\fB@param\fR、\fB@throws\fRタグ・コメントに挿入します。対応する継承された主説明またはタグ・コメントは、その場所にコピーされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1287 |
.SS "クラスおよびインタフェースの継承" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1288 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1289 |
コメントの継承は、クラスおよびインタフェースからの継承の、考えられるすべての場合に発生します。 |
23600 | 1290 |
.sp |
1291 |
.RS 4 |
|
1292 |
.ie n \{\ |
|
1293 |
\h'-04'\(bu\h'+03'\c |
|
1294 |
.\} |
|
1295 |
.el \{\ |
|
1296 |
.sp -1 |
|
1297 |
.IP \(bu 2.3 |
|
1298 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1299 |
クラスのメソッドがスーパークラスのメソッドをオーバーライドしている場合 |
23600 | 1300 |
.RE |
1301 |
.sp |
|
1302 |
.RS 4 |
|
1303 |
.ie n \{\ |
|
1304 |
\h'-04'\(bu\h'+03'\c |
|
1305 |
.\} |
|
1306 |
.el \{\ |
|
1307 |
.sp -1 |
|
1308 |
.IP \(bu 2.3 |
|
1309 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1310 |
インタフェースのメソッドがスーパーインタフェースのメソッドをオーバーライドしている場合 |
23600 | 1311 |
.RE |
1312 |
.sp |
|
1313 |
.RS 4 |
|
1314 |
.ie n \{\ |
|
1315 |
\h'-04'\(bu\h'+03'\c |
|
1316 |
.\} |
|
1317 |
.el \{\ |
|
1318 |
.sp -1 |
|
1319 |
.IP \(bu 2.3 |
|
1320 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1321 |
クラスのメソッドがインタフェースのメソッドを実装している場合 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1322 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1323 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1324 |
最初の2つのケースでは、\fBjavadoc\fRコマンドは、オーバーライドしているメソッドのドキュメント内に\fI「オーバーライド」\fRという小見出しを生成します。コメントが継承されているかどうかにかかわらず、オーバーライドされているメソッドへのリンクが含まれます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1325 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1326 |
3つ目のケース(特定のクラスのメソッドがインタフェースのメソッドを実装している場合)では、\fBjavadoc\fRコマンドは、オーバーライドしているメソッドのドキュメント内に\fI「定義」\fRという小見出しを生成します。コメントが継承されているかどうかにかかわらず、実装されているメソッドへのリンクが含まれます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1327 |
.SS "メソッド・コメントのアルゴリズム" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1328 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1329 |
メソッドにドキュメンテーション・コメントがない、または\fB{@inheritDoc}\fRタグがある場合、\fBjavadoc\fRコマンドは次のアルゴリズムを使用して適用できるコメントを検索します。アルゴリズムは、最も特定される適用可能なドキュメンテーション・コメントを探し、スーパークラスよりもインタフェースを優先するように設計されています。 |
23600 | 1330 |
.sp |
1331 |
.RS 4 |
|
1332 |
.ie n \{\ |
|
1333 |
\h'-04' 1.\h'+01'\c |
|
1334 |
.\} |
|
1335 |
.el \{\ |
|
1336 |
.sp -1 |
|
1337 |
.IP " 1." 4.2 |
|
1338 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1339 |
直接に実装されている(または、拡張されている)インタフェースを、メソッドの宣言で\fBimplements\fR(または\fBextends\fR)という語の後に出現する順序で、1つずつ調べます。このメソッドについて最初に見つかったドキュメンテーション・コメントを採用します。 |
23600 | 1340 |
.RE |
1341 |
.sp |
|
1342 |
.RS 4 |
|
1343 |
.ie n \{\ |
|
1344 |
\h'-04' 2.\h'+01'\c |
|
1345 |
.\} |
|
1346 |
.el \{\ |
|
1347 |
.sp -1 |
|
1348 |
.IP " 2." 4.2 |
|
1349 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1350 |
手順1でドキュメンテーション・コメントが見つからなかった場合は、直接実装されている(または、拡張されている)インタフェースのそれぞれに対して、このアルゴリズム全体を再帰的に適用します(その際の順序は、手順1でインタフェースを調べたときの順序と同じ)。 |
23600 | 1351 |
.RE |
1352 |
.sp |
|
1353 |
.RS 4 |
|
1354 |
.ie n \{\ |
|
1355 |
\h'-04' 3.\h'+01'\c |
|
1356 |
.\} |
|
1357 |
.el \{\ |
|
1358 |
.sp -1 |
|
1359 |
.IP " 3." 4.2 |
|
1360 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1361 |
手順2でドキュメンテーション・コメントが見つからなかった場合で、このクラスが\fBObject\fR以外のクラスであるが、インタフェースではない場合は、次のように処理します。 |
23600 | 1362 |
.sp |
1363 |
.RS 4 |
|
1364 |
.ie n \{\ |
|
1365 |
\h'-04' 1.\h'+01'\c |
|
1366 |
.\} |
|
1367 |
.el \{\ |
|
1368 |
.sp -1 |
|
1369 |
.IP " 1." 4.2 |
|
1370 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1371 |
スーパークラスにこのメソッドについてのドキュメンテーション・コメントが記述されている場合は、そのコメントを採用します。 |
23600 | 1372 |
.RE |
1373 |
.sp |
|
1374 |
.RS 4 |
|
1375 |
.ie n \{\ |
|
1376 |
\h'-04' 2.\h'+01'\c |
|
1377 |
.\} |
|
1378 |
.el \{\ |
|
1379 |
.sp -1 |
|
1380 |
.IP " 2." 4.2 |
|
1381 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1382 |
手順3aでドキュメンテーション・コメントが見つからなかった場合は、スーパークラスに対して、このアルゴリズム全体を再帰的に適用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1383 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1384 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1385 |
.SH "JAVADOCタグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1386 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1387 |
\fBjavadoc\fRコマンドは、Javaのドキュメンテーション・コメント内に埋め込まれた特別なタグを解析します。\fBjavadoc\fRタグを使用すると、完全な整形式のAPIをソース・コードから自動的に生成できます。タグはアットマーク記号(\fB@\fR)で始まり、大文字と小文字が区別されます。これらのタグは、表示されているとおりに大文字と小文字を使用して入力する必要があります。タグは、行の先頭(先頭の空白文字と省略可能なアスタリスクの後)に置く必要があります。そうしないと、テキストとして扱われます。慣例として、同じ名前のタグは1箇所にまとめます。たとえば、\fB@see\fRタグが複数ある場合は、すべて同じ場所にまとめて配置します。詳細は、タグを使用できる場所を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1388 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1389 |
タグには、次のタイプがあります。 |
23600 | 1390 |
.sp |
1391 |
.RS 4 |
|
1392 |
.ie n \{\ |
|
1393 |
\h'-04'\(bu\h'+03'\c |
|
1394 |
.\} |
|
1395 |
.el \{\ |
|
1396 |
.sp -1 |
|
1397 |
.IP \(bu 2.3 |
|
1398 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1399 |
ブロック・タグ: ブロック・タグは主説明に続くタグ・セクション内にのみ配置します。ブロック・タグは、\fI@tag\fRの形式をとります。 |
23600 | 1400 |
.RE |
1401 |
.sp |
|
1402 |
.RS 4 |
|
1403 |
.ie n \{\ |
|
1404 |
\h'-04'\(bu\h'+03'\c |
|
1405 |
.\} |
|
1406 |
.el \{\ |
|
1407 |
.sp -1 |
|
1408 |
.IP \(bu 2.3 |
|
1409 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1410 |
インライン・タグ: インライン・タグは主説明内またはブロック・タグのコメント内の任意の場所に配置します。インライン・タグは\fI{@tag}\fRのように中カッコで囲みます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1411 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1412 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1413 |
カスタム・タグについては、\-tag tagname:Xaoptcmf:"taghead"を参照してください。タグを使用できる場所も参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1414 |
.SS "タグの説明" |
23600 | 1415 |
.PP |
1416 |
@author \fIname\-text\fR |
|
1417 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1418 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1419 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1420 |
\fB\-author\fRオプションが使用されている場合、指定した名前のテキストの作成者エントリを生成されるドキュメントに追加します。1つのドキュメンテーション・コメントに複数の\fB@author\fRタグを含めることができます。1つの\fB@author\fRタグに1つの名前を指定することも、複数の名前を指定することもできます。前者の場合は、\fBjavadoc\fRコマンドによって名前と名前の間にカンマ(,)と空白文字が挿入されます。後者の場合は、テキスト全体が解析されることなく、生成ドキュメントにコピーされます。したがって、カンマではなく、各言語に対応した名前区切り文字を使用する必要があるときに、1行に複数の名前を指定できます。JavadocツールでのDocコメントの記述方法の@authorに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1421 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@author)を参照してください。 |
23600 | 1422 |
.RE |
1423 |
.PP |
|
1424 |
{@code \fItext\fR} |
|
1425 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1426 |
JDK 1\&.5で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1427 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1428 |
\fB<code>{@literal}</code>\fRと同じです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1429 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1430 |
テキストをHTMLマークアップまたはネストされたJavadocタグとして解釈せずに、textをコード・フォントで表示します。これにより、ドキュメンテーション・コメントでは、パラメータの型(\fB<Object>\fR)、不等号(\fB3 < 4\fR)、矢印(\fB<\-\fR)などで、通常の山カッコ(<および>)をHTMLエンティティ(\fB<\fRおよび\fB>\fR)のかわりに使用できます。たとえば、ドキュメンテーション・コメント・テキスト\fB{@code A<B>C}\fRは、\fBA<B>C\fRとして変更されずに生成されたHTMLページに表示されます。つまり、\fB<B>\fRが太字として解釈されず、そのフォントはコード・フォントになります。コード・フォントなしで同じ機能を実現するには、\fB{@literal}\fRタグを使用します。 |
23600 | 1431 |
.RE |
1432 |
.PP |
|
1433 |
@deprecated \fIdeprecated\-text\fR |
|
1434 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1435 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1436 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1437 |
このAPIは動作し続けますが、このAPIを使用しないことを薦めるコメントを追加します。\fBjavadoc\fRコマンドは、\fBdeprecated\-text\fRを主説明の前に移動してイタリックにし、その前に太字の警告「推奨されていません。」を追加します。このタグは、すべてのドキュメンテーション・コメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1438 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1439 |
非推奨テキストの最初の文では、そのAPIが推奨されなくなった時期と、代替として使用するAPIをユーザーに提示する必要があります。\fBjavadoc\fRコマンドは、この最初の文を、サマリー・セクションと索引にコピーします。その後の文で非推奨になった理由を説明することもできます。代替APIを指し示す\fB{@link}\fRタグ(Javadoc 1\&.2以降の場合)を含める必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1440 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1441 |
\fI@deprecated annotation\fRタグを使用してプログラム要素を非推奨にします。APIを非推奨にする方法と時期 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1442 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/deprecation/deprecation\&.html)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1443 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1444 |
JavadocツールでのDocコメントの記述方法の@deprecatedに関する項 |
23600 | 1445 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1446 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@deprecated)も参照してください。 |
23600 | 1447 |
.RE |
1448 |
.PP |
|
1449 |
{@docRoot} |
|
1450 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1451 |
JDK 1\&.3で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1452 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1453 |
生成されるページからの、生成ドキュメントの(生成先)ルート・ディレクトリへの相対パスを表します。このタグは、著作権のページや会社のロゴなど、生成されるすべてのページから参照するファイルを組み込むときに便利です。通常は、各ページの最下部から著作権のページにリンクします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1454 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1455 |
この\fB{@docRoot}\fRタグは、コマンド行でもドキュメンテーション・コメント内でも使用できます。このタグは、任意のタグ(\fB@return\fR、\fB@param\fRおよび\fB@deprecated\fRタグなど)のテキスト部分を含む、すべてのドキュメンテーション・コメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。 |
23600 | 1456 |
.sp |
1457 |
.RS 4 |
|
1458 |
.ie n \{\ |
|
1459 |
\h'-04'\(bu\h'+03'\c |
|
1460 |
.\} |
|
1461 |
.el \{\ |
|
1462 |
.sp -1 |
|
1463 |
.IP \(bu 2.3 |
|
1464 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1465 |
コマンド行で、header、footerまたはbottomが定義されている場合、\fBjavadoc \-bottom \*(Aq<a href="{@docRoot}/copyright\&.html">Copyright</a>\*(Aq\fRとなります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1466 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1467 |
\fB{@docRoot}\fRタグをmakefile内でこのように利用する場合、一部の\fBmakefile\fRプログラムでは、中カッコ\fB{}\fR文字を特別にエスケープする必要があります。たとえば、Inprise MAKEバージョン5\&.2をWindows上で実行する場合は、\fB{{@docRoot}}\fRのように、中カッコを二重にする必要があります。\fB\-bottom\fRオプションなどのオプションへの引数を囲むのに、二重(一重ではなく)引用符も必要です(\fBhref\fR引数を囲む引用符は省略)。 |
23600 | 1468 |
.RE |
1469 |
.sp |
|
1470 |
.RS 4 |
|
1471 |
.ie n \{\ |
|
1472 |
\h'-04'\(bu\h'+03'\c |
|
1473 |
.\} |
|
1474 |
.el \{\ |
|
1475 |
.sp -1 |
|
1476 |
.IP \(bu 2.3 |
|
1477 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1478 |
ドキュメンテーション・コメントでは |
23600 | 1479 |
.sp |
1480 |
.if n \{\ |
|
1481 |
.RS 4 |
|
1482 |
.\} |
|
2692 | 1483 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1484 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1485 |
\fB * See the <a href="{@docRoot}/copyright\&.html">Copyright</a>\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1486 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1487 |
|
23600 | 1488 |
.fi |
1489 |
.if n \{\ |
|
1490 |
.RE |
|
1491 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1492 |
このタグが必要な理由は、生成ドキュメントが、サブパッケージと同じ深さを持つ階層構造のディレクトリに格納されるからです。式: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1493 |
\fB<a href="{@docRoot}/copyright\&.html">\fRは、\fBjava/lang/Object\&.java\fRの場合\fB<a href="\&.\&./\&.\&./copyright\&.html">\fRに、\fBjava/lang/ref/Reference\&.java\fRの場合\fB<a href="\&.\&./\&.\&./\&.\&./copyright\&.html">\fRに解決されます。 |
23600 | 1494 |
.RE |
1495 |
.RE |
|
1496 |
.PP |
|
1497 |
@exception \fIclass\-name description\fR |
|
1498 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1499 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1500 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1501 |
\fB@throws\fRタグと同じです。@throws class\-name descriptionを参照してください。 |
23600 | 1502 |
.RE |
1503 |
.PP |
|
1504 |
{@inheritDoc} |
|
1505 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1506 |
JDK 1\&.4で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1507 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1508 |
最も近い継承可能なクラスまたは実装可能なインタフェースから、このタグの位置にある現在のドキュメンテーション・コメントに、ドキュメントを継承(コピー)します。これにより、より汎用的なコメントを継承ツリーの上位に記述し、コピーしたテキストを使用して記述することができます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1509 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1510 |
このタグは、ドキュメンテーション・コメントの次の位置でのみ有効です。 |
23600 | 1511 |
.sp |
1512 |
.RS 4 |
|
1513 |
.ie n \{\ |
|
1514 |
\h'-04'\(bu\h'+03'\c |
|
1515 |
.\} |
|
1516 |
.el \{\ |
|
1517 |
.sp -1 |
|
1518 |
.IP \(bu 2.3 |
|
1519 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1520 |
メソッドの主説明ブロック内。この場合、主説明は、上位階層のクラスまたはインタフェースからコピーされます。 |
23600 | 1521 |
.RE |
1522 |
.sp |
|
1523 |
.RS 4 |
|
1524 |
.ie n \{\ |
|
1525 |
\h'-04'\(bu\h'+03'\c |
|
1526 |
.\} |
|
1527 |
.el \{\ |
|
1528 |
.sp -1 |
|
1529 |
.IP \(bu 2.3 |
|
1530 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1531 |
メソッドの\fB@return\fR、\fB@param\fR、\fB@throws\fRタグのテキスト引数内。この場合、タグ・テキストは、上位階層の対応するタグからコピーされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1532 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1533 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1534 |
継承階層でコメントを見つける方法に関する説明は、メソッド・コメントの継承を参照してください。このタグが見つからない場合、コメントは、この項で説明するルールに応じて、自動的に継承されるかどうかが決まります。 |
23600 | 1535 |
.RE |
1536 |
.PP |
|
1537 |
{@link \fIpackage\&.class#member label\fR} |
|
1538 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1539 |
JDK 1\&.2で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1540 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1541 |
表示テキストlabelとともにインライン・リンクを挿入します。labelは、参照クラスの指定されたパッケージ、クラス、またはメンバーの名前のドキュメントを指し示します。このタグは、\fB@return\fR、\fB@param\fRおよび\fB@deprecated\fRタグなどの任意のタグのテキスト部分を含む、すべてのドキュメンテーション・コメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。JavadocツールでのDocコメントの記述方法の@linkに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1542 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#{@link)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1543 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1544 |
このタグは\fB@see\fRタグに似ています。どちらのタグも、\fBpackage\&.class#member\fRと\fBlabel\fRの参照方法と、有効な構文が同じです。主な違いは、\fB{@link}\fRタグでは、「関連項目」セクションにリンクが配置されるかわりに、インライン・リンクが生成されるという点です。インライン・テキストの他の部分と区別するために、\fB{@link}\fRタグの最初と最後に中カッコを記述します。ラベル内で右中カッコ(\fB}\fR)を使用する必要がある場合、HTMLエンティティ記法\fB}\fRを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1545 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1546 |
1つ文の中で使用できる\fB{@link}\fRタグの数に制限はありません。このタグは、ドキュメンテーション・コメントの主説明部分、または\fB@deprecated\fR、\fB@return\fR、\fB@param\fRタグなどの任意のタグのテキスト部分で使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1547 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1548 |
たとえば、次のコメントでは\fBgetComponentAt(int,int)\fRメソッドを参照しています。 |
23600 | 1549 |
.sp |
1550 |
.if n \{\ |
|
1551 |
.RS 4 |
|
1552 |
.\} |
|
1553 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1554 |
\fBUse the {@link #getComponentAt(int, int) getComponentAt} method\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1555 |
|
23600 | 1556 |
.fi |
1557 |
.if n \{\ |
|
1558 |
.RE |
|
1559 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1560 |
標準ドックレットでは、このコードから次のHTMLが生成されます(このコメントが同じパッケージの別のクラスを参照している場合)。 |
23600 | 1561 |
.sp |
1562 |
.if n \{\ |
|
1563 |
.RS 4 |
|
1564 |
.\} |
|
1565 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1566 |
\fBUse the <a href="Component\&.html#getComponentAt(int, int)">getComponentAt</a> method\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1567 |
|
23600 | 1568 |
.fi |
1569 |
.if n \{\ |
|
1570 |
.RE |
|
1571 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1572 |
前の行は、次のようにWebページに表示されます。 |
23600 | 1573 |
.sp |
1574 |
.if n \{\ |
|
1575 |
.RS 4 |
|
1576 |
.\} |
|
1577 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1578 |
\fBUse the getComponentAt method\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1579 |
|
23600 | 1580 |
.fi |
1581 |
.if n \{\ |
|
1582 |
.RE |
|
1583 |
.\} |
|
1584 |
.RE |
|
1585 |
.PP |
|
1586 |
{@linkplain \fIpackage\&.class#member label\fR} |
|
1587 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1588 |
JDK 1\&.4で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1589 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1590 |
\fB{@link}\fRタグと同じ動作をしますが、リンク・ラベルがコード・フォントではなくプレーン・テキストで表示される点が異なります。ラベルがプレーン・テキストで記述されていると便利です。たとえば、「\fBRefer to {@linkplain add() the overridden method}\fR\&.」は「Refer to the overridden method」と表示されます。 |
23600 | 1591 |
.RE |
1592 |
.PP |
|
1593 |
{@literal \fItext\fR} |
|
1594 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1595 |
JDK 1\&.5で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1596 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1597 |
テキストをHTMLマークアップまたはネストされたJavadocタグとして解釈せずに、textを表示します。これにより、ドキュメンテーション・コメントでは、パラメータの型(\fB<Object>\fR)、不等号(\fB3 < 4\fR)、矢印(<\-)などで、山カッコ(\fB<および>\fR)をHTMLエンティティ(\fB<\fRおよび\fB>\fR)のかわりに使用できます。たとえば、ドキュメンテーション・コメント・テキスト\fB{@literal A<B>C}\fRは、\fBA<B>C\fRとしてブラウザの生成されたHTMLページで変更されずに表示されます。\fB<B>\fRは太字として解釈されません(コード・フォントになりません)。コード・フォントで同じ機能を実現するには、\fB{@code}\fRタグを使用します。 |
23600 | 1598 |
.RE |
1599 |
.PP |
|
1600 |
@param \fIparameter\-name description\fR |
|
1601 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1602 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1603 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1604 |
「パラメータ」セクションに、指定された\fBparameter\-name\fRの後に指定されたdescriptionを続けてパラメータを追加します。ドキュメンテーション・コメントを記述するときには、descriptionを複数行にわたって記述することもできます。このタグは、メソッド、コンストラクタ、またはクラスのドキュメンテーション・コメント内でのみ有効です。JavadocツールでのDocコメントの記述方法の@paramに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1605 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@param)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1606 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1607 |
\fBparameter\-name\fRは、メソッドまたはコンストラクタでのパラメータの名前か、クラス、メソッドまたはコンストラクタの型パラメータの名前になります。山カッコでこのパラメータ名を囲み、型パラメータを使用することを指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1608 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1609 |
クラスの型パラメータの例: |
23600 | 1610 |
.sp |
1611 |
.if n \{\ |
|
1612 |
.RS 4 |
|
1613 |
.\} |
|
2692 | 1614 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1615 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1616 |
\fB * @param <E> Type of element stored in a list\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1617 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1618 |
\fBpublic interface List<E> extends Collection<E> {\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1619 |
\fB}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1620 |
|
23600 | 1621 |
.fi |
1622 |
.if n \{\ |
|
1623 |
.RE |
|
1624 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1625 |
メソッドの型パラメータの例: |
23600 | 1626 |
.sp |
1627 |
.if n \{\ |
|
1628 |
.RS 4 |
|
1629 |
.\} |
|
1630 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1631 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1632 |
\fB * @param string the string to be converted\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1633 |
\fB * @param type the type to convert the string to\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1634 |
\fB * @param <T> the type of the element\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1635 |
\fB * @param <V> the value of the element\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1636 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1637 |
\fB<T, V extends T> V convert(String string, Class<T> type) {\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1638 |
\fB}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1639 |
|
23600 | 1640 |
.fi |
1641 |
.if n \{\ |
|
1642 |
.RE |
|
1643 |
.\} |
|
1644 |
.RE |
|
1645 |
.PP |
|
1646 |
@return \fIdescription\fR |
|
1647 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1648 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1649 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1650 |
「戻り値」セクションを追加して、descriptionのテキストを書き込みます。このテキストでは、戻り値の型と、取り得る値の範囲について記述する必要があります。このタグは、メソッドのドキュメンテーション・コメントでのみ有効です。JavadocツールでのDocコメントの記述方法の@returnに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1651 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@return)を参照してください。 |
23600 | 1652 |
.RE |
1653 |
.PP |
|
1654 |
@see \fIreference\fR |
|
1655 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1656 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1657 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1658 |
\fI「関連項目」\fR見出しを追加して、referenceを指すリンク、またはテキスト・エントリを書き込みます。1つのドキュメンテーション・コメントには任意の数の\fB@see\fRタグを含めることができますが、それらはすべて同じ見出しの下にグループ化されます。\fB@see\fRタグには、3つのタイプの形式があります。この形式が最も一般的です。このタグは、すべてのドキュメンテーション・コメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、またはフィールドで有効です。パッケージ、クラス、またはメンバーに対するインライン・リンクを文中に挿入する方法は、\fB{@link}\fRを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1659 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1660 |
\fB形式1\fR。@see |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1661 |
\fBstring\fRタグ形式は、\fIstring\fRのテキスト・エントリを追加します。リンクは生成されません。stringは、書籍またはURLではアクセスできない情報の参照先です。\fBjavadoc\fRコマンドは、最初の文字として二重引用符(")を検索して、この形式を前述の形式と区別します。たとえば、\fB@see "The Java Programming Language"\fRは次のテキストを生成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1662 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1663 |
\fB関連項目\fR: |
23600 | 1664 |
.sp |
1665 |
"The Java Programming Language" |
|
1666 |
.sp |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1667 |
\fB形式2\fR。\fB@see <a href="URL#value">label</a>\fRフォームは、\fBURL#value\fRで定義されているようにリンクを追加します。\fBURL#value\fRパラメータは、相対URLまたは絶対URLです。\fBjavadoc\fRコマンドは、最初の文字として「より小さい」記号(\fB<\fR)を検索して、この形式を他の形式と区別します。たとえば、\fB@see <a href="spec\&.html#section">Java Spec</a>\fRは、次のリンクを生成します: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1668 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1669 |
\fB関連項目\fR: |
23600 | 1670 |
.sp |
1671 |
Java Spec |
|
1672 |
.sp |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1673 |
\fB形式3\fR。\fB@see package\&.class#member label\fR形式は、表示テキスト・ラベルとともにリンクを追加します。このラベルは参照されているJava言語の指定された名前のドキュメントを指し示します。ラベルはオプションです。ラベルを省略した場合は、表示テキストのかわりに、名前が適切に短縮されて表示されます。\fB\-noqualifier\fRオプションを使用すると、この表示テキストからパッケージ名が全体的に削除されます。ラベルは、自動生成される表示テキストとは異なる表示テキストにする場合に使用します。「名前が表示される方法」を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1674 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1675 |
Java SE 1\&.2だけは、ラベルではなく名前が\fB<code>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1676 |
HTMLタグ内に自動的に表示されます。Java SE 1\&.2\&.2からは、ラベルを使用するかしないかにかかわらず、\fB<code>\fRタグは常に表示テキストを囲む形で含まれます。 |
23600 | 1677 |
.sp |
1678 |
.RS 4 |
|
1679 |
.ie n \{\ |
|
1680 |
\h'-04'\(bu\h'+03'\c |
|
1681 |
.\} |
|
1682 |
.el \{\ |
|
1683 |
.sp -1 |
|
1684 |
.IP \(bu 2.3 |
|
1685 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1686 |
\fBpackage\&.class#member\fRには、参照されている任意の有効なプログラム要素の名前を指定します。つまり、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、またはフィールドの名前です。ただし、メンバー名の前の文字は、シャープ記号(\fB#\fR)にする必要があります。classは、任意のトップレベルまたはネストされたクラスか、インタフェースを表します。memberは、任意のコンストラクタ、メソッドまたはフィールドを表します(ネストされたクラスまたはインタフェースではありません)。この名前が、ドキュメント化されるクラスに含まれている場合、\fBjavadoc\fRコマンドは、その名前へのリンクを作成します。外部参照クラスへのリンクを作成するには、\fB\-link\fRオプションを使用します。参照クラスに属していない名前のドキュメントを参照するには、他の2つの\fB@see\fRタグ形式のどちらかを使用します。「名前の指定」を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1687 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1688 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1689 |
外部参照クラスは、コマンド行で\fBjavadoc\fRコマンドに渡されないクラスです。生成ドキュメント内で外部参照クラスにリンクしている箇所は、外部参照または外部リンクと呼ばれます。たとえば、\fBjava\&.awt package\fRに対してのみ\fBjavadoc\fRコマンドを実行した場合、\fBObject\fRなどの\fBjava\&.lang\fR内のすべてのクラスが外部参照クラスになります。\fB\-link\fRおよび\fB\-linkoffline\fRオプションを使用して、外部参照クラスへリンクします。外部参照クラスのソース・コメントは\fBjavadoc\fRコマンドの実行には使用できません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1690 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1691 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1692 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1693 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1694 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1695 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1696 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1697 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1698 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1699 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1700 |
\fBlabel\fRは、省略可能なテキストで、リンクのラベルとして表示されます。ラベルには空白を含めることができます。\fBlabel\fRを省略すると、\fBpackage\&.class\&.member\fRが、現在のクラスおよびパッケージに応じて適切に短縮されて表示されます。「名前が表示される方法」を参照してください。 |
23600 | 1701 |
.RE |
1702 |
.sp |
|
1703 |
.RS 4 |
|
1704 |
.ie n \{\ |
|
1705 |
\h'-04'\(bu\h'+03'\c |
|
1706 |
.\} |
|
1707 |
.el \{\ |
|
1708 |
.sp -1 |
|
1709 |
.IP \(bu 2.3 |
|
1710 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1711 |
空白文字が、\fBpackage\&.class#member\fRと\fBlabel\fRの間の区切り文字になります。カッコの内側の空白文字はラベルの先頭とは解釈されないため、メソッドのパラメータ間に空白文字を入れてもかまいません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1712 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1713 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1714 |
この例では、\fB@see\fRタグ(\fBCharacter\fRクラス内)が、\fBString\fRクラスのequalsメソッドを参照しています。タグには、名前\fBString#equals(Object)\fRとラベル\fBequals\fRの両方の引数が含まれています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1715 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1716 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1717 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1718 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1719 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1720 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1721 |
\fB * @see String#equals(Object) equals\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1722 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1723 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1724 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1725 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1726 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1727 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1728 |
標準ドックレットは、次のようなHTMLを生成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1729 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1730 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1731 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1732 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1733 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1734 |
\fB<dl>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1735 |
\fB<dt><b>See Also:</b>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1736 |
\fB<dd><a href="\&.\&./\&.\&./java/lang/String#equals(java\&.lang\&.Object)"><code>equals<code></a>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1737 |
\fB</dl>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1738 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1739 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1740 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1741 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1742 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1743 |
前述のコードは、ブラウザに次のように表示され、ラベルは表示リンク・テキストになっています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1744 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1745 |
\fB関連項目\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1746 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1747 |
equals |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1748 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1749 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1750 |
名前の指定 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1751 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1752 |
この\fBpackage\&.class#member\fRという名前は、\fBjava\&.lang\&.String#toUpperCase()\fRのような完全修飾名にすることも、\fBString#toUpperCase()\fRや\fB#toUpperCase()\fRのような非完全修飾名にすることもできます。名前が完全修飾より短い場合は、\fBjavadoc\fRコマンドは、標準のJavaコンパイラの検索順序を使用して探します。「@seeタグの検索順序」を参照してください。名前は、メソッド引数の間など、カッコ内のスペースを含めることができます。部分的に修飾した短い名前を指定することの利点は、入力する文字数が減ることや、ソース・コードが読みやすくなることです。次のリストに様々な形式の名前を示します。ここで、\fBClass\fRにはクラスまたはインタフェースを、Typeにはクラス、インタフェース、配列、またはプリミティブを、methodにはメソッドまたはコンストラクタを、それぞれ指定できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1753 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1754 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1755 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1756 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1757 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1758 |
\fB\fBTypical forms for\fR\fR\fB\fB @see package\&.class#member\fR\fR\fB \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1759 |
\fB\fBReferencing a member of the current class\fR\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1760 |
\fB@see #field\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1761 |
\fB@see #method(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1762 |
\fB@see #method(Type argname, Type argname,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1763 |
\fB@see #constructor(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1764 |
\fB@see #constructor(Type argname, Type argname,\&.\&.\&.) \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1765 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1766 |
\fB\fBReferencing another class in the current or imported packages\fR\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1767 |
\fB@see Class#field\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1768 |
\fB@see Class#method(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1769 |
\fB@see Class#method(Type argname, Type argname,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1770 |
\fB@see Class#constructor(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1771 |
\fB@see Class#constructor(Type argname, Type argname,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1772 |
\fB@see Class\&.NestedClass\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1773 |
\fB@see Class \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1774 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1775 |
\fB\fBReferencing an element in another package (fully qualified)\fR\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1776 |
\fB@see package\&.Class#field\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1777 |
\fB@see package\&.Class#method(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1778 |
\fB@see package\&.Class#method(Type argname, Type argname,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1779 |
\fB@see package\&.Class#constructor(Type, Type,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1780 |
\fB@see package\&.Class#constructor(Type argname, Type argname,\&.\&.\&.)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1781 |
\fB@see package\&.Class\&.NestedClass\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1782 |
\fB@see package\&.Class\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1783 |
\fB@see package\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1784 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1785 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1786 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1787 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1788 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1789 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1790 |
前のリストに関するメモ: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1791 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1792 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1793 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1794 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1795 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1796 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1797 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1798 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1799 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1800 |
最初のタイプの形式(パッケージとクラスを省略)の場合、\fBjavadoc\fRコマンドは、現在のクラスの階層のみを検索します。つまり、現在のクラスかインタフェース、そのスーパークラスかスーパーインタフェース、またはその外側を囲んでいるクラスかインタフェースからメンバーを検索します(検索項目1\(en3)。現在のパッケージの他の部分や、他のパッケージは検索しません(検索項目4\(en5)。「@seeタグの検索順序」を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1801 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1802 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1803 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1804 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1805 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1806 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1807 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1808 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1809 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1810 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1811 |
メソッドまたはコンストラクタの入力時に、\fBgetValue\fRのようにカッコなしの名前を使用した場合、同じ名前のフィールドが存在していなければ、\fBjavadoc\fRコマンドはそのメソッドへのリンクを作成します。このメソッドがオーバーロードされている場合、\fBjavadoc\fRコマンドは、検索で最初に見つかったメソッドにリンクします。結果は前もって特定できません。 |
23600 | 1812 |
.RE |
1813 |
.sp |
|
1814 |
.RS 4 |
|
1815 |
.ie n \{\ |
|
1816 |
\h'-04'\(bu\h'+03'\c |
|
1817 |
.\} |
|
1818 |
.el \{\ |
|
1819 |
.sp -1 |
|
1820 |
.IP \(bu 2.3 |
|
1821 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1822 |
ネストされたクラスは、すべての形式について、\fBouter\&.inner\fRとして指定する必要があります。単純に\fBinner\fRとはしないでください。 |
23600 | 1823 |
.RE |
1824 |
.sp |
|
1825 |
.RS 4 |
|
1826 |
.ie n \{\ |
|
1827 |
\h'-04'\(bu\h'+03'\c |
|
1828 |
.\} |
|
1829 |
.el \{\ |
|
1830 |
.sp -1 |
|
1831 |
.IP \(bu 2.3 |
|
1832 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1833 |
すでに述べたように、クラスとメンバーとの間の区切り文字としては、ドット(\fB\&.\fR)ではなくシャープ記号(\fB#\fR)を使用します。このように指定すると、\fBjavadoc\fRコマンドは、あいまいさを解決できます。ドットは、クラス、ネストされたクラス、パッケージ、およびサブパッケージを区切るためにも使用されるからです。ただし、\fBjavadoc\fRコマンドでは、あいまいさがなければドットは正しく解析されますが、警告は表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1834 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1835 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1836 |
@seeタグの検索順序 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1837 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1838 |
\fBjavadoc\fRコマンドは、ソース・ファイル、パッケージ・ファイル、概要ファイルに表示される\fB@see\fRタグを処理します。後者の2つのファイルでは、完全修飾の名前を\fB@see\fRタグに指定する必要があります。ソース・ファイルでは、完全修飾の名前、または部分修飾の名前を指定できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1839 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1840 |
次に、\fB@see\fRタグの検索順序を示します。 |
23600 | 1841 |
.sp |
1842 |
.RS 4 |
|
1843 |
.ie n \{\ |
|
1844 |
\h'-04' 1.\h'+01'\c |
|
1845 |
.\} |
|
1846 |
.el \{\ |
|
1847 |
.sp -1 |
|
1848 |
.IP " 1." 4.2 |
|
1849 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1850 |
現在のクラスまたはインタフェース。 |
23600 | 1851 |
.RE |
1852 |
.sp |
|
1853 |
.RS 4 |
|
1854 |
.ie n \{\ |
|
1855 |
\h'-04' 2.\h'+01'\c |
|
1856 |
.\} |
|
1857 |
.el \{\ |
|
1858 |
.sp -1 |
|
1859 |
.IP " 2." 4.2 |
|
1860 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1861 |
外側を囲んでいるクラスとインタフェース(最も近いものから検索)。 |
23600 | 1862 |
.RE |
1863 |
.sp |
|
1864 |
.RS 4 |
|
1865 |
.ie n \{\ |
|
1866 |
\h'-04' 3.\h'+01'\c |
|
1867 |
.\} |
|
1868 |
.el \{\ |
|
1869 |
.sp -1 |
|
1870 |
.IP " 3." 4.2 |
|
1871 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1872 |
スーパークラスとスーパーインタフェース(最も近いものから検索)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1873 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1874 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1875 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1876 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1877 |
\h'-04' 4.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1878 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1879 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1880 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1881 |
.IP " 4." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1882 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1883 |
現在のパッケージ。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1884 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1885 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1886 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1887 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1888 |
\h'-04' 5.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1889 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1890 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1891 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1892 |
.IP " 5." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1893 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1894 |
インポートされているパッケージ、クラス、およびインタフェース(\fBimport\fR文の順序に従って検索)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1895 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1896 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1897 |
\fBjavadoc\fRコマンドは、各クラスについて項目1\-3を再帰的に適用しながら、一致する名前が見つかるまで検索を続けます。つまり、まず現在のクラスを検索し、次にその外側を囲んでいるクラスEを検索した後、Eのスーパークラスを検索してから、Eを囲んでいるクラスを検索します。項目4と5では、\fBjavadoc\fRコマンドが1つのパッケージ内のクラスまたはインタフェースを検索する順序は決まっていません(その順序は、個々のコンパイラによって異なります)。項目5では、\fBjavadoc\fRコマンドは、\fIjava\&.lang\fRを検索します。このパッケージは、すべてのプログラムに自動的にインポートされるからです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1898 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1899 |
\fBjavadoc\fRコマンドは、完全修飾でないソース・ファイルで\fB@see\fRタグを見つけると、Javaコンパイラと同じ順序で指定された名前を検索します(ただし、\fBjavadoc\fRコマンドは、特定の名前空間のあいまいさを検出しません。これは、ソース・コードにこれらのエラーが存在していないことを前提としているためです)。この検索順序は、Java言語仕様で正式に定義されています。\fBjavadoc\fRコマンドは、関連するクラスとパッケージ、およびインポートされたクラスとパッケージのすべてからその名前を検索します。具体的には、次の順序で検索します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1900 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1901 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1902 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1903 |
\h'-04' 1.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1904 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1905 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1906 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1907 |
.IP " 1." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1908 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1909 |
現在のクラスまたはインタフェース。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1910 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1911 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1912 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1913 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1914 |
\h'-04' 2.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1915 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1916 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1917 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1918 |
.IP " 2." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1919 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1920 |
外側を囲んでいるクラスとインタフェース(最も近いものから検索)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1921 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1922 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1923 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1924 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1925 |
\h'-04' 3.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1926 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1927 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1928 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1929 |
.IP " 3." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1930 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1931 |
スーパークラスとスーパーインタフェース(最も近いものから検索)。 |
23600 | 1932 |
.RE |
1933 |
.sp |
|
1934 |
.RS 4 |
|
1935 |
.ie n \{\ |
|
1936 |
\h'-04' 4.\h'+01'\c |
|
1937 |
.\} |
|
1938 |
.el \{\ |
|
1939 |
.sp -1 |
|
1940 |
.IP " 4." 4.2 |
|
1941 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1942 |
現在のパッケージ。 |
23600 | 1943 |
.RE |
1944 |
.sp |
|
1945 |
.RS 4 |
|
1946 |
.ie n \{\ |
|
1947 |
\h'-04' 5.\h'+01'\c |
|
1948 |
.\} |
|
1949 |
.el \{\ |
|
1950 |
.sp -1 |
|
1951 |
.IP " 5." 4.2 |
|
1952 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1953 |
インポートされているパッケージ、クラス、およびインタフェース(\fBimport\fR文の順序に従って検索)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1954 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1955 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1956 |
\fBjavadoc\fRコマンドは、必ずしもサブクラスを検索するとは限りません。また、実行中に他のパッケージのドキュメントが生成される場合でも、他のパッケージを検索しません。たとえば、\fB@see\fRタグが\fBjava\&.awt\&.event\&.KeyEvent\fRクラス内に含まれていて、\fBjava\&.awt package\fR内のある名前を参照していても、そのクラスがインポートしないかぎり\fBjavadoc\fRコマンドはそのパッケージを検索しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1957 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1958 |
名前が表示される方法 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1959 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1960 |
\fBlabel\fRを省略すると、\fBpackage\&.class\&.member\fRが表示されます。一般に、これは現在のクラスおよびパッケージに応じて適切に短縮されます。短縮されるとは、\fBjavadoc\fRコマンドにより必要最小限の名前のみが表示されるということです。たとえば、\fBString\&.toUpperCase()\fRメソッドに、同じクラスのメンバーへの参照と他のクラスのメンバーへの参照が含まれている場合、クラス名が表示されるのは後者のケースのみです(次のリストを参照)。パッケージ名を全体的に削除するには、\fB\-noqualifier\fRオプションを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1961 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1962 |
\fB参照のタイプ\fR: \fB@see\fRタグは同じクラス、同じパッケージのメンバーを参照します |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1963 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1964 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1965 |
\fB例\fR: \fB@see String#toLowerCase()\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1966 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1967 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1968 |
\fB表示\fR: \fBtoLowerCase()\fR \- パッケージおよびクラス名を省略します |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1969 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1970 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1971 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1972 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1973 |
\fB参照のタイプ\fR: \fB@see\fRタグは別のクラス、同じパッケージのメンバーを参照します |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1974 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1975 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1976 |
\fB例\fR: \fB@see Character#toLowerCase(char)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1977 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1978 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1979 |
\fB表示\fR: \fBCharacter\&.toLowerCase(char)\fR \- パッケージ名を省略し、クラス名を含みます |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1980 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1981 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1982 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1983 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1984 |
\fB参照のタイプ\fR: \fB@see\fRタグは異なるクラス、異なるパッケージのメンバーを参照します |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1985 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1986 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1987 |
\fB例\fR: \fB@see java\&.io\&.File#exists()\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1988 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1989 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1990 |
\fB表示\fR: \fBjava\&.io\&.File\&.exists()\fR \- パッケージおよびクラス名を含みます |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1991 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1992 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1993 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1994 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1995 |
@seeタグの例 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1996 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1997 |
右側のコメントは、\fB@see\fRタグが\fBjava\&.applet\&.Applet\fRなどの別のパッケージのクラス内にある場合に、名前がどのように表示されるかを示しています。JavadocツールでのDocコメントの記述方法の@seeに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
1998 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@see)を参照してください。 |
23600 | 1999 |
.sp |
2000 |
.if n \{\ |
|
2001 |
.RS 4 |
|
2002 |
.\} |
|
2692 | 2003 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2004 |
\fB See also:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2005 |
\fB@see java\&.lang\&.String // String \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2006 |
\fB@see java\&.lang\&.String The String class // The String class \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2007 |
\fB@see String // String \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2008 |
\fB@see String#equals(Object) // String\&.equals(Object) \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2009 |
\fB@see String#equals // String\&.equals(java\&.lang\&.Object) \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2010 |
\fB@see java\&.lang\&.Object#wait(long) // java\&.lang\&.Object\&.wait(long) \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2011 |
\fB@see Character#MAX_RADIX // Character\&.MAX_RADIX \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2012 |
\fB@see <a href="spec\&.html">Java Spec</a> // Java Spec \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2013 |
\fB@see "The Java Programming Language" // "The Java Programming Language" \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2014 |
|
2692 | 2015 |
.fi |
23600 | 2016 |
.if n \{\ |
2017 |
.RE |
|
2018 |
.\} |
|
2019 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2020 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2021 |
\fB@se\fR\fBe\fRタグを拡張してドキュメント化されないクラスにリンクするには、\fB\-link\fRオプションを使用します。 |
23600 | 2022 |
.PP |
2023 |
@serial \fIfield\-description\fR | include | exclude |
|
2024 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2025 |
JDK 1\&.2で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2026 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2027 |
デフォルトの直列化可能フィールドのドキュメンテーション・コメントで使用します。クラスの直列化可能なフィールドおよびデータの文書化 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2028 |
(http://docs\&.oracle\&.com/javase/8/docs/platform/serialization/spec/serial\-arch\&.html#5251)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2029 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2030 |
Oracleの直列化された形式の仕様にクラスを含める基準 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2031 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/serialized\-criteria\-137781\&.html)も参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2032 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2033 |
\fBfield\-description\fR(省略可能)では、フィールドの意味を説明し、取り得る値のリストを示す必要があります。必要な場合は、複数の行に渡って説明を記述できます。標準ドックレットは、この情報を、直列化された形式ページに追加します。相互参照ページを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2034 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2035 |
クラスを直列化した後に直列化可能フィールドをクラスに追加した場合、主説明に、追加したバージョンを識別する文を追加する必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2036 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2037 |
\fBinclude\fRおよび\fBexclude\fR引数は、直列化された形式ページにクラスまたはパッケージを含めるか除外するかを示します。次のように機能します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2038 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2039 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2040 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2041 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2042 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2043 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2044 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2045 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2046 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2047 |
\fBSerializable\fRを実装しているpublicまたはprotectedクラスは、そのクラス(またはそのクラスが属するパッケージ)が\fB@serial exclude\fRタグでマークされていないかぎり、含められます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2048 |
.RE |
23600 | 2049 |
.sp |
2050 |
.RS 4 |
|
2051 |
.ie n \{\ |
|
2052 |
\h'-04'\(bu\h'+03'\c |
|
2053 |
.\} |
|
2054 |
.el \{\ |
|
2055 |
.sp -1 |
|
2056 |
.IP \(bu 2.3 |
|
2057 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2058 |
\fBSerializable\fRを実装しているprivateまたはpackage\-privateクラスは、そのクラス(またはそのクラスが属するパッケージ)が\fB@serial include\fRタグでマークされていないかぎり、除外されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2059 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2060 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2061 |
たとえば、\fBjavax\&.swing\fRパッケージはpackage\&.htmlまたはpackage\-info\&.java内で\fB@serial\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2062 |
\fBexclude\fRタグでマークされています。publicクラス\fBjava\&.security\&.BasicPermission\fRは\fB@serial exclude\fRタグでマークされています。package\-privateクラス\fBjava\&.util\&.PropertyPermissionCollection\fRは\fB@serial include\fRタグでマークされています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2063 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2064 |
クラス・レベルの\fB@serial\fRタグはパッケージ・レベルの\fB@serial\fRタグをオーバーライドします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2065 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2066 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2067 |
@serialData \fIdata\-description\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2068 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2069 |
JDK 1\&.2で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2070 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2071 |
データの説明値を使用して、直列化された形式でのデータの型と順序をドキュメント化します。このデータには、\fBwriteObject\fRメソッドによって書き込まれる省略可能なデータ、および\fBExternalizable\&.writeExternal\fRメソッドによって書き込まれるすべてのデータ(ベース・クラスを含む)が含まれます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2072 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2073 |
\fB@serialData\fRタグは、\fBwriteObject\fR、\fBreadObject\fR、\fBwriteExternal\fR、\fBreadExternal\fR、\fBwriteReplace\fRおよび\fBreadResolve\fRメソッドのドキュメンテーション・コメントで使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2074 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2075 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2076 |
@serialField \fIfield\-name\fR \fIfield\-type\fR \fIfield\-description\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2077 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2078 |
JDK 1\&.2で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2079 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2080 |
\fBSerializable\fRクラスの\fBserialPersistentFields\fRメンバーの\fBObjectStreamField\fRコンポーネントをドキュメント化します。\fBObjectStreamField\fRコンポーネントごとに1つの\fB@serialField\fRタグを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2081 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2082 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2083 |
@since \fIsince\-text\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2084 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2085 |
JDK 1\&.1で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2086 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2087 |
生成ドキュメントに、指定された\fBsince\-text\fRの値の\fI「導入されたバージョン」\fR見出しを追加します。このテキストには、特別な内部構造はありません。このタグは、すべてのドキュメンテーション・コメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、またはフィールドで有効です。このタグは、特定の変更または機能が、\fBsince\-text\fRの値によって指定されたソフトウェア・リリース以降、存在していることを意味します。たとえば、\fB@since 1\&.5\fRです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2088 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2089 |
Javaプラットフォームのソース・コードの場合、\fB@since\fRタグは、JavaプラットフォームAPI仕様のバージョンを示します。ソース・コードがリファレンス実装に追加された時期を示すとは限りません。複数の\fB@since\fRタグを使用でき、複数の\fB@author\fRタグのように扱われます。プログラム要素が複数のAPIで使用される場合、複数のタグを使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2090 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2091 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2092 |
@throws \fIclass\-name\fR \fIdescription\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2093 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2094 |
JDK 1\&.2で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2095 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2096 |
\fB@exception\fRタグと同じ動作をします。JavadocツールでのDocコメントの記述方法の@throwsに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2097 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@exception)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2098 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2099 |
\fB@throws\fRタグは、生成ドキュメントに\fIThrows\fR小見出しを追加して、\fBclass\-name\fRおよび\fBdescription\fRテキストを書き込みます。\fIclass\-name\fRは、そのメソッドからスローされる可能性のある例外の名前です。このタグは、メソッド、コンストラクタのドキュメンテーション・コメント内でのみ有効です。このクラスが完全指定の名前で記述されていない場合、\fBjavadoc\fRコマンドは、検索順序に従ってクラスを探します。複数の\fB@throws\fRタグを、同じ例外または違う例外の指定したドキュメンテーション・コメントで使用できます。「@seeタグの検索順序」を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2100 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2101 |
すべてのチェック済例外がドキュメント化されるようにするために、\fB@throws\fRタグがthrows節内の例外用に存在しない場合は、\fB@throws\fRタグでドキュメント化されたかのように、\fBjavadoc\fRコマンドによって例外がHTML出力に説明なしで追加されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2102 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2103 |
オーバーライドされるメソッド内で例外が明示的に宣言されている場合のみ、\fB@throws\fRのドキュメントがそのメソッドからサブクラスにコピーされます。インタフェース・メソッドから実装メソッドにコピーされる場合も同様です。\fB{@inheritDoc}\fRタグを使用して、\fB@throws\fRタグがドキュメンテーションを継承するように強制できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2104 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2105 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2106 |
{@value \fIpackage\&.class#field\fR} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2107 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2108 |
JDK 1\&.4で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2109 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2110 |
定数の値を表示します。\fB{@value}\fRタグが静的フィールドのドキュメンテーション・コメントで引数なしで使用されている場合、その定数の値を表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2111 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2112 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2113 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2114 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2115 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2116 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2117 |
\fB * The value of this constant is {@value}\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2118 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2119 |
\fBpublic static final String SCRIPT_START = "<script>"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2120 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2121 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2122 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2123 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2124 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2125 |
任意のドキュメンテーション・コメント内で引数\fBpackage\&.class#field\fRありで使用された場合、\fB{@value}\fRタグは指定された定数の値を表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2126 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2127 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2128 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2129 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2130 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2131 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2132 |
\fB * Evaluates the script starting with {@value #SCRIPT_START}\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2133 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2134 |
\fBpublic String evalScript(String script) {}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2135 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2136 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2137 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2138 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2139 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2140 |
引数\fBpackage\&.class#field\fRは、\fB@see\fRタグ引数と同一の形式になります。ただし、メンバーは静的フィールドである必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2141 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2142 |
これらの定数の値は「定数フィールド値」 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2143 |
(http://docs\&.oracle\&.com/javase/8/docs/api/constant\-values\&.html)にも表示されます |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2144 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2145 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2146 |
@version \fIversion\-text\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2147 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2148 |
JDK 1\&.0で導入 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2149 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2150 |
\fB\-version\fRオプションが使用されている場合、生成ドキュメントに\fI「バージョン」\fR小見出しを追加して、指定された\fBversion\-text\fRの値を書き込みます。このタグはこのコードが含まれるソフトウェアの現在のリリース番号を保持するためのものであるのに対し、\fB@since\fRタグは、このコードが導入されたリリース番号を保持します。\fBversion\-text\fRの値には、特別な内部構造はありません。JavadocツールでのDocコメントの記述方法の@versionに関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2151 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#@version)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2152 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2153 |
1つのドキュメンテーション・コメントに複数の\fB@version\fRタグを含めることができます。必要に応じて、1つの\fB@version\fRタグに1つのリリース番号を指定することも、複数のリリース番号を指定することもできます。前者の場合は、\fBjavadoc\fRコマンドによって名前と名前の間にカンマ(,)と空白文字が挿入されます。後者の場合は、テキスト全体が解析されることなく、生成ドキュメントにコピーされます。したがって、カンマではなく、各言語に対応した名前区切り文字を使用する必要があるときに、1行に複数の名前を指定できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2154 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2155 |
.SH "タグを使用できる場所" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2156 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2157 |
ここでは、タグを使用できる場所について説明します。次のタグがすべてのドキュメンテーション・コメントで使用できます。\fB@see\fR、\fB@since\fR、\fB@deprecated\fR、\fB{@link}\fR、\fB{@linkplain}\fRおよび\fB{@docroot}\fR。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2158 |
.SS "概要タグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2159 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2160 |
概要タグは、概要ページのドキュメンテーション・コメントで使用できるタグです(このドキュメンテーション・コメントは、通常overview\&.htmlという名前のソース・ファイル内にあります)。他のドキュメンテーション・コメントの場合と同様に、これらのタグは、主説明の後で使用する必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2161 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2162 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2163 |
Java SE 1\&.2では、概要ドキュメント内の\fB{@link}\fRタグにbugがあります。テキストは正しく表示されますが、リンクが設定されません。現在のところ、\fB{@docRoot}\fRタグは、概要ドキュメント内では機能しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2164 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2165 |
概要タグは、次のとおりです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2166 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2167 |
@see reference || @since since\-text || @serialField field\-name field\-type field\-description || @author name\-text || @version version\-text || {@link package\&.class#member label} || {@linkplain package\&.class#member label} || {@docRoot} || |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2168 |
.SS "パッケージ・タグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2169 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2170 |
パッケージ・タグは、パッケージのドキュメンテーション・コメントで使用できるタグで、ドキュメンテーション・コメントはpackage\&.htmlまたはpackage\-info\&.javaという名前のソース・ファイル内にあります。ここで使用できる\fB@serial\fRタグは、\fBinclude\fRまたは\fBexclude\fR引数を指定したもののみです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2171 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2172 |
パッケージ・タグは、次のとおりです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2173 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2174 |
@see reference || @since since\-text || @serial field\-description | include | exclude || @author name\-text || @version version\-text || {@linkplain package\&.class#member label} || {@linkplain package\&.class#member label} || {@docRoot} || |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2175 |
.SS "クラスおよびインタフェース・タグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2176 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2177 |
次に、クラスまたはインタフェースのドキュメンテーション・コメントで使用できるタグを示します。\fB@serial\fRタグは、\fBinclude\fRまたは\fBexclude\fR引数を指定して、クラスまたはインタフェースのドキュメンテーション内でのみ使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2178 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2179 |
@see reference || @since since\-text || @deprecated deprecated\-text || @serial field\-description | include | exclude || @author name\-text || @version version\-text || {@link package\&.class#member label} || {@linkplain package\&.class#member label} || {@docRoot} || |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2180 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2181 |
クラス・コメントの例: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2182 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2183 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2184 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2185 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2186 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2187 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2188 |
\fB * A class representing a window on the screen\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2189 |
\fB * For example:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2190 |
\fB * <pre>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2191 |
\fB * Window win = new Window(parent);\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2192 |
\fB * win\&.show();\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2193 |
\fB * </pre>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2194 |
\fB *\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2195 |
\fB * @author Sami Shaio\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2196 |
\fB * @version 1\&.13, 06/08/06\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2197 |
\fB * @see java\&.awt\&.BaseWindow\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2198 |
\fB * @see java\&.awt\&.Button\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2199 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2200 |
\fBclass Window extends BaseWindow {\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2201 |
\fB \&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2202 |
\fB}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2203 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2204 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2205 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2206 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2207 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2208 |
.SS "フィールド・タグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2209 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2210 |
これらのタグは、フィールドに表示できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2211 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2212 |
@see reference || @since since\-text || @deprecated deprecated\-text || @serial field\-description | include | exclude || @serialField field\-name field\-type field\-description || {@link package\&.class#member label} || {@linkplain package\&.class#member label} || {@docRoot} || {@value package\&.class#field} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2213 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2214 |
フィールド・コメントの例: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2215 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2216 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2217 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2218 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2219 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2220 |
\fB /**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2221 |
\fB * The X\-coordinate of the component\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2222 |
\fB *\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2223 |
\fB * @see #getLocation()\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2224 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2225 |
\fB int x = 1263732;\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2226 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2227 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2228 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2229 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2230 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2231 |
.SS "コンストラクタとメソッド・タグ" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2232 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2233 |
次に、コンストラクタまたはメソッドのドキュメンテーション・コメントで使用できるタグを示します。ただし、\fB@return\fRはコンストラクタでは使用できず、 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2234 |
\fB{@inheritDoc}\fRには制限があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2235 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2236 |
@see reference || @since since\-text || @deprecated deprecated\-text || @param parameter\-name description || @return description || @throws class\-name description || @exception class\-name description || @serialData data\-description || {@link package\&.class#member label} || {@linkplain package\&.class#member label} || {@inheritDoc} || {@docRoot} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2237 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2238 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2239 |
\fB@serialData\fRタグは、\fBwriteObject\fR、\fBreadObject\fR、\fBwriteExternal\fR、\fBreadExternal\fR、\fBwriteReplace\fRおよび\fBreadResolve\fRメソッドのドキュメンテーション・コメントでのみ使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2240 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2241 |
メソッド・コメントの例: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2242 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2243 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2244 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2245 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2246 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2247 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2248 |
\fB * Returns the character at the specified index\&. An index \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2249 |
\fB * ranges from <code>0</code> to <code>length() \- 1</code>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2250 |
\fB *\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2251 |
\fB * @param index the index of the desired character\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2252 |
\fB * @return the desired character\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2253 |
\fB * @exception StringIndexOutOfRangeException \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2254 |
\fB * if the index is not in the range <code>0</code> \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2255 |
\fB * to <code>length()\-1</code>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2256 |
\fB * @see java\&.lang\&.Character#charValue()\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2257 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2258 |
\fB public char charAt(int index) {\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2259 |
\fB \&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2260 |
\fB }\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2261 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2262 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2263 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2264 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2265 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2266 |
.SH "オプション" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2267 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2268 |
\fBjavadoc\fRコマンドは、ドックレットを使用して出力を決定します。\fBjavadoc\fRコマンドは、\fB\-doclet\fRオプションでカスタム・ドックレットが指定されている場合以外は、デフォルトの標準ドックレットを使用します。\fBjavadoc\fRコマンドには、任意のドックレットとともに使用できるコマンド行オプションがあります。これらのオプションについては、Javadocオプションで説明します。標準ドックレットでは、この他に、いくつかの追加のコマンド行オプションが提供されます。これらのオプションについては、標準ドックレットのオプションで説明します。どのオプション名も、大文字と小文字が区別されません。ただし、オプションの引数では、大文字と小文字が区別されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2269 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2270 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2271 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2272 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2273 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2274 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2275 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2276 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2277 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2278 |
Javadocオプションも参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2279 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2280 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2281 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2282 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2283 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2284 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2285 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2286 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2287 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2288 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2289 |
標準ドックレットのオプションも参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2290 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2291 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2292 |
オプションは次のとおりです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2293 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2294 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2295 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2296 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2297 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2298 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2299 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2300 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2301 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2302 |
\-1\&.1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2303 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2304 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2305 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2306 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2307 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2308 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2309 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2310 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2311 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2312 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2313 |
\-author |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2314 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2315 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2316 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2317 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2318 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2319 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2320 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2321 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2322 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2323 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2324 |
\-bootclasspath classpathlist |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2325 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2326 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2327 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2328 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2329 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2330 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2331 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2332 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2333 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2334 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2335 |
\-bottom text |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2336 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2337 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2338 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2339 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2340 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2341 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2342 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2343 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2344 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2345 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2346 |
\-breakiterator |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2347 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2348 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2349 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2350 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2351 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2352 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2353 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2354 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2355 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2356 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2357 |
\-charset name |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2358 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2359 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2360 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2361 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2362 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2363 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2364 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2365 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2366 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2367 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2368 |
\-classpath classpathlist |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2369 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2370 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2371 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2372 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2373 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2374 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2375 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2376 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2377 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2378 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2379 |
\-d directory |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2380 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2381 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2382 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2383 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2384 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2385 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2386 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2387 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2388 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2389 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2390 |
\-docencoding name |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2391 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2392 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2393 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2394 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2395 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2396 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2397 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2398 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2399 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2400 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2401 |
\-docfilesubdirs |
23600 | 2402 |
.RE |
2403 |
.sp |
|
2404 |
.RS 4 |
|
2405 |
.ie n \{\ |
|
2406 |
\h'-04'\(bu\h'+03'\c |
|
2407 |
.\} |
|
2408 |
.el \{\ |
|
2409 |
.sp -1 |
|
2410 |
.IP \(bu 2.3 |
|
2411 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2412 |
\-doclet class |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2413 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2414 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2415 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2416 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2417 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2418 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2419 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2420 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2421 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2422 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2423 |
\-docletpath classpathlist |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2424 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2425 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2426 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2427 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2428 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2429 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2430 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2431 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2432 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2433 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2434 |
\-doctitle title |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2435 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2436 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2437 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2438 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2439 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2440 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2441 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2442 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2443 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2444 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2445 |
\-encoding |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2446 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2447 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2448 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2449 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2450 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2451 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2452 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2453 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2454 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2455 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2456 |
\-exclude packagename1:packagename2:\&.\&.\&. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2457 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2458 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2459 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2460 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2461 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2462 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2463 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2464 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2465 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2466 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2467 |
\-excludedocfilessubdir name1:name2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2468 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2469 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2470 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2471 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2472 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2473 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2474 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2475 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2476 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2477 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2478 |
\-extdirs dirist |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2479 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2480 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2481 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2482 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2483 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2484 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2485 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2486 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2487 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2488 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2489 |
\-footer footer |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2490 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2491 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2492 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2493 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2494 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2495 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2496 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2497 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2498 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2499 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2500 |
\-group groupheading packagepattern:packagepattern |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2501 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2502 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2503 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2504 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2505 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2506 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2507 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2508 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2509 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2510 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2511 |
\-header header |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2512 |
.RE |
23600 | 2513 |
.sp |
2514 |
.RS 4 |
|
2515 |
.ie n \{\ |
|
2516 |
\h'-04'\(bu\h'+03'\c |
|
2517 |
.\} |
|
2518 |
.el \{\ |
|
2519 |
.sp -1 |
|
2520 |
.IP \(bu 2.3 |
|
2521 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2522 |
\-help |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2523 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2524 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2525 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2526 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2527 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2528 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2529 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2530 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2531 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2532 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2533 |
\-helpfile path\efilename |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2534 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2535 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2536 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2537 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2538 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2539 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2540 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2541 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2542 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2543 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2544 |
\-Jflag |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2545 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2546 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2547 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2548 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2549 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2550 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2551 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2552 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2553 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2554 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2555 |
\-javafx |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2556 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2557 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2558 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2559 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2560 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2561 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2562 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2563 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2564 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2565 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2566 |
\-keywords |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2567 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2568 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2569 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2570 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2571 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2572 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2573 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2574 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2575 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2576 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2577 |
\-link extdocURL |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2578 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2579 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2580 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2581 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2582 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2583 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2584 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2585 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2586 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2587 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2588 |
\-linkoffline extdocURL packagelistLoc |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2589 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2590 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2591 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2592 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2593 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2594 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2595 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2596 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2597 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2598 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2599 |
\-linksource |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2600 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2601 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2602 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2603 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2604 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2605 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2606 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2607 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2608 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2609 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2610 |
\-locale language_country_variant |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2611 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2612 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2613 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2614 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2615 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2616 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2617 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2618 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2619 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2620 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2621 |
\-nocomment |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2622 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2623 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2624 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2625 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2626 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2627 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2628 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2629 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2630 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2631 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2632 |
\-nodeprecated |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2633 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2634 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2635 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2636 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2637 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2638 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2639 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2640 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2641 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2642 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2643 |
\-nodeprecatedlist |
23600 | 2644 |
.RE |
2645 |
.sp |
|
2646 |
.RS 4 |
|
2647 |
.ie n \{\ |
|
2648 |
\h'-04'\(bu\h'+03'\c |
|
2649 |
.\} |
|
2650 |
.el \{\ |
|
2651 |
.sp -1 |
|
2652 |
.IP \(bu 2.3 |
|
2653 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2654 |
\-nohelp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2655 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2656 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2657 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2658 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2659 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2660 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2661 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2662 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2663 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2664 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2665 |
\-noindex |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2666 |
.RE |
23600 | 2667 |
.sp |
2668 |
.RS 4 |
|
2669 |
.ie n \{\ |
|
2670 |
\h'-04'\(bu\h'+03'\c |
|
2671 |
.\} |
|
2672 |
.el \{\ |
|
2673 |
.sp -1 |
|
2674 |
.IP \(bu 2.3 |
|
2675 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2676 |
\-nonavbar |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2677 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2678 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2679 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2680 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2681 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2682 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2683 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2684 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2685 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2686 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2687 |
\-noqualifier all | packagename1:packagename2\&.\&.\&. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2688 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2689 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2690 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2691 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2692 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2693 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2694 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2695 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2696 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2697 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2698 |
\-nosince |
23600 | 2699 |
.RE |
2700 |
.sp |
|
2701 |
.RS 4 |
|
2702 |
.ie n \{\ |
|
2703 |
\h'-04'\(bu\h'+03'\c |
|
2704 |
.\} |
|
2705 |
.el \{\ |
|
2706 |
.sp -1 |
|
2707 |
.IP \(bu 2.3 |
|
2708 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2709 |
\-notimestamp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2710 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2711 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2712 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2713 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2714 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2715 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2716 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2717 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2718 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2719 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2720 |
\-notree |
23600 | 2721 |
.RE |
2722 |
.sp |
|
2723 |
.RS 4 |
|
2724 |
.ie n \{\ |
|
2725 |
\h'-04'\(bu\h'+03'\c |
|
2726 |
.\} |
|
2727 |
.el \{\ |
|
2728 |
.sp -1 |
|
2729 |
.IP \(bu 2.3 |
|
2730 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2731 |
\-overview path/filename |
23600 | 2732 |
.RE |
2733 |
.sp |
|
2734 |
.RS 4 |
|
2735 |
.ie n \{\ |
|
2736 |
\h'-04'\(bu\h'+03'\c |
|
2737 |
.\} |
|
2738 |
.el \{\ |
|
2739 |
.sp -1 |
|
2740 |
.IP \(bu 2.3 |
|
2741 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2742 |
\-package |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2743 |
.RE |
23600 | 2744 |
.sp |
2745 |
.RS 4 |
|
2746 |
.ie n \{\ |
|
2747 |
\h'-04'\(bu\h'+03'\c |
|
2748 |
.\} |
|
2749 |
.el \{\ |
|
2750 |
.sp -1 |
|
2751 |
.IP \(bu 2.3 |
|
2752 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2753 |
\-private |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2754 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2755 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2756 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2757 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2758 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2759 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2760 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2761 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2762 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2763 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2764 |
\-protected |
23600 | 2765 |
.RE |
2766 |
.sp |
|
2767 |
.RS 4 |
|
2768 |
.ie n \{\ |
|
2769 |
\h'-04'\(bu\h'+03'\c |
|
2770 |
.\} |
|
2771 |
.el \{\ |
|
2772 |
.sp -1 |
|
2773 |
.IP \(bu 2.3 |
|
2774 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2775 |
\-public |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2776 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2777 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2778 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2779 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2780 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2781 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2782 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2783 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2784 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2785 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2786 |
\-quiet |
23600 | 2787 |
.RE |
2788 |
.sp |
|
2789 |
.RS 4 |
|
2790 |
.ie n \{\ |
|
2791 |
\h'-04'\(bu\h'+03'\c |
|
2792 |
.\} |
|
2793 |
.el \{\ |
|
2794 |
.sp -1 |
|
2795 |
.IP \(bu 2.3 |
|
2796 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2797 |
\-serialwarn |
23600 | 2798 |
.RE |
2799 |
.sp |
|
2800 |
.RS 4 |
|
2801 |
.ie n \{\ |
|
2802 |
\h'-04'\(bu\h'+03'\c |
|
2803 |
.\} |
|
2804 |
.el \{\ |
|
2805 |
.sp -1 |
|
2806 |
.IP \(bu 2.3 |
|
2807 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2808 |
\-source release |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2809 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2810 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2811 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2812 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2813 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2814 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2815 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2816 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2817 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2818 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2819 |
\-sourcepath sourcepathlist |
23600 | 2820 |
.RE |
2821 |
.sp |
|
2822 |
.RS 4 |
|
2823 |
.ie n \{\ |
|
2824 |
\h'-04'\(bu\h'+03'\c |
|
2825 |
.\} |
|
2826 |
.el \{\ |
|
2827 |
.sp -1 |
|
2828 |
.IP \(bu 2.3 |
|
2829 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2830 |
\-sourcetab tablength |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2831 |
.RE |
23600 | 2832 |
.sp |
2833 |
.RS 4 |
|
2834 |
.ie n \{\ |
|
2835 |
\h'-04'\(bu\h'+03'\c |
|
2836 |
.\} |
|
2837 |
.el \{\ |
|
2838 |
.sp -1 |
|
2839 |
.IP \(bu 2.3 |
|
2840 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2841 |
\-splitindex |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2842 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2843 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2844 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2845 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2846 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2847 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2848 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2849 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2850 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2851 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2852 |
\-stylesheet path/filename |
23600 | 2853 |
.RE |
2854 |
.sp |
|
2855 |
.RS 4 |
|
2856 |
.ie n \{\ |
|
2857 |
\h'-04'\(bu\h'+03'\c |
|
2858 |
.\} |
|
2859 |
.el \{\ |
|
2860 |
.sp -1 |
|
2861 |
.IP \(bu 2.3 |
|
2862 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2863 |
\-tag tagname:Xaoptcmf:"taghead" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2864 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2865 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2866 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2867 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2868 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2869 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2870 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2871 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2872 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2873 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2874 |
\-subpackages package1:package2:\&.\&.\&. |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2875 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2876 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2877 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2878 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2879 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2880 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2881 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2882 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2883 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2884 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2885 |
\-taglet class |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2886 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2887 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2888 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2889 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2890 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2891 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2892 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2893 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2894 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2895 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2896 |
\-tagletpath tagletpathlist |
23600 | 2897 |
.RE |
2898 |
.sp |
|
2899 |
.RS 4 |
|
2900 |
.ie n \{\ |
|
2901 |
\h'-04'\(bu\h'+03'\c |
|
2902 |
.\} |
|
2903 |
.el \{\ |
|
2904 |
.sp -1 |
|
2905 |
.IP \(bu 2.3 |
|
2906 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2907 |
\-title title |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2908 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2909 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2910 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2911 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2912 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2913 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2914 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2915 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2916 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2917 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2918 |
\-top |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2919 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2920 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2921 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2922 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2923 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2924 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2925 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2926 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2927 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2928 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2929 |
\-use |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2930 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2931 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2932 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2933 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2934 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2935 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2936 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2937 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2938 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2939 |
.\} |
23600 | 2940 |
\-verbose |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2941 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2942 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2943 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2944 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2945 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2946 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2947 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2948 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2949 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2950 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2951 |
\-version |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2952 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2953 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2954 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2955 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2956 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2957 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2958 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2959 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2960 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2961 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2962 |
\-windowtitle title |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2963 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2964 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2965 |
次のオプションは、すべてのドックレットに使用可能なコアのJavadocオプションです。標準ドックレットでは、ドックレットの他の部分を提供します。\fB\-bootclasspath\fR、\fB\-breakiterator\fR、\fB\-classpath\fR、\fB\-doclet\fR、\fB\-docletpath\fR、\fB\-encoding\fR、\-\fBexclude\fR、\fB\-extdirs\fR、\fB\-help\fR、\fB\-locale\fR、\fB\-\fR\fBoverview\fR、\fB\-package\fR、\fB\-private\fR、\fB\-protected\fR、\fB\-public\fR、\fB\-quiet\fR、\fB\-source\fR、\fB\-sourcepath\fR、\fB\-subpackages\fRおよび\fB\-verbose\fR。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2966 |
.SS "Javadocオプション" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2967 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2968 |
\-overview \fIpath/filename \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2969 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2970 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2971 |
\fBjavadoc\fRコマンドに対して、\fIpath/filename \fRで指定されたソース・ファイルから概要ドキュメント用のテキストを取得し、そのテキストを「概要」ページ(overview\-summary\&.html)に配置するように指定します。\fIpath/filename\fRは、現在のディレクトリからの相対パスです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2972 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2973 |
\fBfilename\fRの値で任意の名前を使用し、pathで任意の配置先を指定できますが、通常はoverview\&.htmlという名前を付け、ソース・ツリー内の最上位パッケージ・ディレクトリを含むディレクトリに配置します。この場所に配置すると、パッケージをドキュメント化するときにpathを指定する必要がなくなります。これは、\fB\-sourcepath\fRオプションによってこのファイルが指し示されるからです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2974 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2975 |
たとえば、\fBjava\&.lang\fRパッケージのソース・ツリーが/src/classes/java/lang/の場合、概要ファイルを/src/classes/overview\&.htmlに配置できます |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2976 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2977 |
実際の例を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2978 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2979 |
\fIpath/filename\fRで指定するファイルについては、概要コメント・ファイルを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2980 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2981 |
「概要」ページが作成されるのは、\fBjavadoc\fRコマンドに複数のパッケージ名を渡した場合のみです。詳細は、HTMLフレームを参照してください。「概要」ページのタイトルは、\fB\-doctitle\fRによって設定されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2982 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2983 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2984 |
\-Xdoclint:(all|none|[\-]\fI<group>\fR) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2985 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2986 |
不正な参照、アクセシビリティの欠落およびJavadocコメントの不足の警告をレポートし、無効なJavadoc構文および不足しているHTMLタグのエラーをレポートします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2987 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2988 |
このオプションにより、\fBjavadoc\fRコマンドは生成された出力に含まれるすべてのドキュメント・コメントをチェックします。通常どおり、標準オプション\fB\-public\fR、\fB\-protected\fR、\fB\-package\fRおよび\fB\-private\fRで生成された出力に含む項目を選択できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2989 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2990 |
\fB\-Xdoclint\fRが有効になっている場合は、\fBjavac\fRコマンドと同様にメッセージで問題がレポートされます。\fBjavadoc\fRコマンドは、メッセージ、ソース・ファイルのコピーおよびエラーが検出された正確な位置を指すキャレットを出力します。メッセージは、重大度、および生成されたドキュメントがバリデータを使用して実行された場合にエラーが発生する可能性に応じて、警告またはエラーになります。たとえば、不正な参照またはJavadocコメントの欠落は、\fBjavadoc\fRコマンドが無効なHTMLを生成する原因にならないため、これらの問題は警告としてレポートされます。構文エラーまたはHTML終了タグの欠落は、\fBjavadoc\fRコマンドが無効なHTMLを生成する原因になるため、これらの問題はエラーとしてレポートされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2991 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2992 |
デフォルトでは、\fB\-Xdoclint\fRオプションは有効になっています。オプション\fB\-Xdoclint:none\fRで無効にします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2993 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2994 |
\fB\-Xdoclint\fRオプションでレポートされる内容は次のオプションで変更します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2995 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2996 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2997 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2998 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
2999 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3000 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3001 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3002 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3003 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3004 |
\fB\-Xdoclint none\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3005 |
\fB\-Xdoclint\fRオプションを無効にします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3006 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3007 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3008 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3009 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3010 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3011 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3012 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3013 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3014 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3015 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3016 |
\fB\-Xdoclint \fR\fIgroup\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3017 |
\fIgroup\fRチェックを有効にします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3018 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3019 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3020 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3021 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3022 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3023 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3024 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3025 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3026 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3027 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3028 |
\fB\-Xdoclint all\fR: すべてのチェック・グループを有効にします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3029 |
.RE |
23600 | 3030 |
.sp |
3031 |
.RS 4 |
|
3032 |
.ie n \{\ |
|
3033 |
\h'-04'\(bu\h'+03'\c |
|
3034 |
.\} |
|
3035 |
.el \{\ |
|
3036 |
.sp -1 |
|
3037 |
.IP \(bu 2.3 |
|
3038 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3039 |
\fB\-Xdoclint all,\fR\fI\-group\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3040 |
\fIgroup\fRチェック以外のすべてを有効にします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3041 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3042 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3043 |
変数\fIgroup\fRは次のいずれかの値を持ちます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3044 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3045 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3046 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3047 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3048 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3049 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3050 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3051 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3052 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3053 |
\fBaccessibility\fR: アクセシビリティ・チェッカで検出する問題をチェックします(たとえば、\fB<table>\fRタグで指定されるno captionまたはsummary属性)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3054 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3055 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3056 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3057 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3058 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3059 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3060 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3061 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3062 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3063 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3064 |
\fBhtml\fR: インライン要素へのブロック要素の挿入や終了タグを必要とする要素を終了しないなど、上位レベルHTMLの問題を検出します。ルールは、HTML 4\&.01仕様から導出されます。このタイプのチェックは、\fBjavadoc\fRコマンドを有効にして、ブラウザが受け入れる可能性のあるHTMLの問題を検出します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3065 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3066 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3067 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3068 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3069 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3070 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3071 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3072 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3073 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3074 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3075 |
\fBmissing\fR: 欠落しているJavadocコメントまたはタグをチェックします(たとえば、欠落しているコメントやクラス、または欠落している\fB@return\fRタグやメソッド上の同様のタグ)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3076 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3077 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3078 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3079 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3080 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3081 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3082 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3083 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3084 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3085 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3086 |
\fBreference\fR: JavadocタグのJava API要素の参照に関連する問題をチェックします(たとえば、\fB@see\fRで見つからない項目、または\fB@param\fRの後の不正な名前)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3087 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3088 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3089 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3090 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3091 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3092 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3093 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3094 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3095 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3096 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3097 |
\fBsyntax\fR: エスケープされていない山カッコ(\fB<\fRおよび\fB>\fR)やアンパサンド(\fB&\fR)、無効なJavadocタグなどの下位レベルの問題を確認します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3098 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3099 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3100 |
\fB\-Xdoclint\fRオプションを複数回指定して、複数のカテゴリのエラーと警告をチェックするオプションを有効にできます。または、前のオプションを使用して、複数のエラーおよび警告カテゴリを指定できます。たとえば、次のコマンドのいずれかを使用して、\fIfilename\fRファイル内のHTML、構文およびアクセシビリティの問題をチェックします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3101 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3102 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3103 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3104 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3105 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3106 |
\fBjavadoc \-Xdoclint:html \-Xdoclint:syntax \-Xdoclint:accessibility \fR\fB\fIfilename\fR\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3107 |
\fBjavadoc \-Xdoclint:html,syntax,accessibility \fR\fB\fIfilename\fR\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3108 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3109 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3110 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3111 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3112 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3113 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3114 |
\fBjavadoc\fRコマンドでは、これらのチェックの完全性は保証されません。具体的には、完全なHTMLコンプライアンス・チェッカではありません。\-\fBXdoclint\fRオプションの目的は、\fBjavadoc\fRコマンドを有効にして一般的なエラーの大半をレポートすることです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3115 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3116 |
\fBjavadoc\fRコマンドは、無効な入力の修正を試行せず、レポートのみ行います。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3117 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3118 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3119 |
\-public |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3120 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3121 |
publicクラスおよびメンバーのみ表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3122 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3123 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3124 |
\-protected |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3125 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3126 |
protectedおよびpublicのクラスとメンバーのみを表示します。これがデフォルトです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3127 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3128 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3129 |
\-package |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3130 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3131 |
package、protected、およびpublicのクラスとメンバーのみ表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3132 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3133 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3134 |
\-private |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3135 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3136 |
すべてのクラスとメンバーを表示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3137 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3138 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3139 |
\-help |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3140 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3141 |
オンライン・ヘルプを表示します。\fBjavadoc\fRと\fBドックレット\fRのコマンド行オプションがリストされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3142 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3143 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3144 |
\-doclet \fIclass\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3145 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3146 |
ドキュメントの生成に使用するドックレットを起動するためのクラス・ファイルを指定します。完全修飾名を使用します。このドックレットにより、出力の内容と形式が定義されます。\fB\-doclet\fRオプションが使用されていない場合、\fBjavadoc\fRコマンドは、標準ドックレットを使用してデフォルトのHTML形式を生成します。このクラスには\fBstart(Root)\fRメソッドが含まれている必要があります。この起動クラスへのパスは\fB\-docletpath\fRオプションによって定義されます。ドックレットの概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3147 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/doclet/overview\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3148 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3149 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3150 |
\-docletpath \fIclasspathlist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3151 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3152 |
\fB\-doclet\fRオプションで指定されたドックレット開始クラス・ファイル、およびそのクラスが依存するすべてのJARファイルへのパスを指定します。開始クラス・ファイルがJARファイル内にある場合、このオプションでJARファイルへのパスを指定します。絶対パスまたは現在のディレクトリからの相対パスを指定できます。\fBclasspathlist\fRに複数のパスやJARファイルが含まれる場合には、それらをSolarisの場合はコロン(:)で、Windowsの場合はセミコロン(;)でそれぞれ区切ります。目的のドックレット開始クラスがすでに検索パス内にある場合は、このオプションは不要です。ドックレットの概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3153 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/doclet/overview\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3154 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3155 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3156 |
\-1\&.1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3157 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3158 |
Javadoc 1\&.4から削除され、代替はありません。このオプションは、Javadoc 1\&.1によって生成されるのと同じ外見と機能を持つドキュメントを作成するためのものでした(ネストされたクラスはサポートされていません)。このオプションが必要な場合は、Javadoc 1\&.2または1\&.3をかわりに使用してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3159 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3160 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3161 |
\-source \fIrelease\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3162 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3163 |
受け付けるソース・コードのリリースを指定します。\fBrelease\fRパラメータには次の値を指定できます。\fBjavac\fRコマンドでコードをコンパイルするときに使用する値に対応する\fBリリース\fRの値を使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3164 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3165 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3166 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3167 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3168 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3169 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3170 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3171 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3172 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3173 |
\fBリリース値: 1\&.5\fR。\fBjavadoc\fRコマンドは、JDK 1\&.5で導入された総称および他の言語機能を含むコードを受け付けます。\fB\-source\fRオプションが使用されなかった場合のコンパイラのデフォルト動作は、1\&.5のものになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3174 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3175 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3176 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3177 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3178 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3179 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3180 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3181 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3182 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3183 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3184 |
\fBリリース値: 1\&.4\fR。\fBjavadoc\fRコマンドは、JDK 1\&.4で導入されたアサーションを含むコードを受け付けます。 |
23600 | 3185 |
.RE |
3186 |
.sp |
|
3187 |
.RS 4 |
|
3188 |
.ie n \{\ |
|
3189 |
\h'-04'\(bu\h'+03'\c |
|
3190 |
.\} |
|
3191 |
.el \{\ |
|
3192 |
.sp -1 |
|
3193 |
.IP \(bu 2.3 |
|
3194 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3195 |
\fBリリース値: 1\&.3\fR。\fBjavadoc\fRコマンドは、JDK 1\&.3以降に導入されたアサーション、総称、または他の言語機能をサポートしません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3196 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3197 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3198 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3199 |
\-sourcepath \fIsourcepathlist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3200 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3201 |
パッケージ名または\fB\-subpackages\fRオプションを\fBjavadoc\fRコマンドに渡すときに、ソース・ファイルを見つけるための検索パスを指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3202 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3203 |
複数のパスはコロン(:)で区切ります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3204 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3205 |
\fBjavadoc\fRコマンドは、指定されたパス以下のすべてのサブディレクトリを検索します。このオプションを使用して、ドキュメント化されるソース・ファイルの位置のみでなく、それ自体はドキュメント化されないがドキュメント化されるソース・ファイルから継承されたコメントを持つソース・ファイルの位置も確認できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3206 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3207 |
\fB\-sourcepath\fRオプションを使用できるのは、\fBjavadoc\fRコマンドにパッケージ名を渡す場合のみです。\fBjavadoc\fRコマンドに渡されるソース・ファイルは検索されません。ソース・ファイルを特定するには、そのディレクトリに移動するか、「1つ以上のクラスのドキュメント化」に示すように各ファイルの前にパスを含めます。\fB\-sourcepath\fRが省略された場合、\fBjavadoc\fRコマンドは、クラス・パスを使用してソース・ファイルを検索します(\fB\-classpath\fRを参照)。デフォルトの\fB\-sourcepath\fRは、クラス・パスの値です。\fB\-classpath\fRを省略してパッケージ名を\fBjavadoc\fRコマンドに渡すと、\fBjavadoc\fRコマンドは現在のディレクトリ(およびそのサブディレクトリ)からソース・ファイルを検索します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3208 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3209 |
\fBsourcepathlist\fRには、ドキュメント化するパッケージのソース・ツリーのルート・ディレクトリを設定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3210 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3211 |
たとえば、\fBcom\&.mypackage\fRという名前のパッケージをドキュメント化する場合に、そのソース・ファイルが/home/user/src/com/mypackage/*\&.javaにあるとします。ソース・パスをcom\emypackageが含まれるディレクトリ/home/user/srcに指定してから、次のように、パッケージ名を指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3212 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3213 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3214 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3215 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3216 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3217 |
\fBjavadoc \-sourcepath /home/user/src/ com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3218 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3219 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3220 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3221 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3222 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3223 |
ソース・パスの値とパッケージ名を連結して、ドットをスラッシュ(/)に変更すると、次のように、パッケージのフルパスになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3224 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3225 |
/home/user/src/com/mypackage |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3226 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3227 |
2つのソース・パスを設定するには、次のようにします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3228 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3229 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3230 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3231 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3232 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3233 |
\fBjavadoc \-sourcepath /home/user1/src:/home/user2/src com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3234 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3235 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3236 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3237 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3238 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3239 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3240 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3241 |
\-classpath \fIclasspathlist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3242 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3243 |
\fBjavadoc\fRコマンドが参照クラスの検索を行うときに使用するパスを指定します。参照クラスとは、ドキュメント化されるクラスと、それらのクラスによって参照されるすべてのクラスのことです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3244 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3245 |
複数のパスはコロン(:)で区切ります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3246 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3247 |
\fBjavadoc\fRコマンドは、指定されたパス以下のすべてのサブディレクトリを検索します。\fBclasspathlist\fRの値を指定するときは、クラス・パスのドキュメントにある指示に従ってください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3248 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3249 |
\fB\-sourcepath\fRが省略された場合、\fBjavadoc\fRコマンドは\fB\-classpath\fRを使用して、ソース・ファイルおよびクラス・ファイルを検索します(後方互換性のため)。ソース・ファイルとクラス・ファイルを別々のパスから検索する必要がある場合は、\fB\-sourcepath\fRと\fB\-classpath\fRの両方を使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3250 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3251 |
たとえば、\fBcom\&.mypackage\fRをドキュメント化する場合に、そのソース・ファイルがディレクトリ/home/user/src/com/mypackageにあり、このパッケージが/home/user/lib内のライブラリに依存しているとき、次のように指定します。 |
23600 | 3252 |
.sp |
3253 |
.if n \{\ |
|
3254 |
.RS 4 |
|
3255 |
.\} |
|
2 | 3256 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3257 |
\fBjavadoc \-sourcepath /home/user/lib \-classpath /home/user/src com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3258 |
|
2692 | 3259 |
.fi |
23600 | 3260 |
.if n \{\ |
3261 |
.RE |
|
3262 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3263 |
他のツールと同様に、\fB\-classpath\fRが指定されていない場合、\fBCLASSPATH\fR環境変数が設定されていれば、\fBjavadoc\fRコマンドはその環境変数を使用します。どちらも設定されていない場合、\fBjavadoc\fRコマンドは現在のディレクトリからクラスを検索します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3264 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3265 |
\fBjavadoc\fRコマンドが\fB\-classpath\fRを使用してユーザー・クラスを検索する方法についての、拡張機能クラスやブートストラップ・クラスに関連した詳細は、クラスの検索方法 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3266 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/findingclasses\&.html)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3267 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3268 |
*のベース名を含むクラス・パス要素は、\fB\&.jar\fRまたは\fB\&.JAR\fRを拡張子に持つディレクトリ内のすべてのファイルのリストを指定するのと同等とみなされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3269 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3270 |
たとえば、ディレクトリ\fBmydir\fRに\fBa\&.jar\fRと\fBb\&.JA\fRRが含まれている場合、クラス・パス要素\fBfoo/*\fRは\fBA\&.jar:b\&.JAR\fRに展開されますが、JARファイルの順番は未指定となります。非表示のファイルを含む、指定したディレクトリ内のすべてのJARファイルがリストに含まれます。*からなるクラス・パス・エントリは、現在のディレクトリ内のすべてのJARファイルのリストに展開されます。\fBCLASSPATH\fR環境変数も同様に展開されます。クラス・パスのワイルドカードの展開は、Java Virtual Machine (JVM)の開始前に行われます。Javaプログラムは、System\&.getenv(\fB"CLASSPATH"\fR)の呼び出しによってなど、環境を問い合せる場合を除き、展開されていないワイルドカードを参照しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3271 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3272 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3273 |
\-subpackages \fIpackage1:package2:\&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3274 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3275 |
ソース・ファイルから指定されたパッケージおよびそのサブパッケージ内に再帰的にドキュメントを生成します。このオプションは、ソース・コードに新しいサブパッケージを追加する際に便利です。新しいサブパッケージが自動的に組み込まれるからです。各package引数は、任意の最上位サブパッケージ(\fBjava\fRなど)または完全修飾パッケージ(\fBjavax\&.swing\fRなど)になります。ソース・ファイルを含める必要はありません。引数は、すべてのオペレーティング・システムで、コロンで区切られます。ワイルドカードは使用できません。パッケージの検索場所を指定するには、\fB\-sourcepath\fRを使用します。このオプションでは、ソース・ツリー内に存在するがパッケージに含まれないソース・ファイルを処理しません。ソース・ファイルの処理を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3276 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3277 |
たとえば、次のコマンドは、\fBjava\fRおよび\fBjavax\&.swing\fRという名前のパッケージとこれらのサブパッケージ全部のドキュメントを生成します。 |
23600 | 3278 |
.sp |
3279 |
.if n \{\ |
|
3280 |
.RS 4 |
|
3281 |
.\} |
|
2 | 3282 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3283 |
\fBjavadoc \-d docs \-sourcepath /home/user/src \-subpackages java:javax\&.swing \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3284 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3285 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3286 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3287 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3288 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3289 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3290 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3291 |
\-exclude \fIpackagename1:packagename2:\&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3292 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3293 |
指定されたパッケージとそのサブパッケージを\fB\-subpackages\fRによって作成されたリストから無条件に除外します。過去または将来の\fB\-subpackages\fRオプションの指定によって組み込まれるパッケージも除外の対象となります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3294 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3295 |
次の例では、\fBjava\&.io\fR、\fBjava\&.util\fR、\fBjava\&.math\fRなどは組み込まれますが、\fBjava\&.net\fRと\fBjava\&.lang\fRをルートに持つパッケージは除外されます。\fBjava\&.lang\fRのサブパッケージである\fBjava\&.lang\&.ref\fRが除外される点に注意してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3296 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3297 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3298 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3299 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3300 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3301 |
\fBjavadoc \-sourcepath /home/user/src \-subpackages java \-exclude \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3302 |
\fB java\&.net:java\&.lang\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3303 |
|
2 | 3304 |
.fi |
23600 | 3305 |
.if n \{\ |
3306 |
.RE |
|
3307 |
.\} |
|
3308 |
.RE |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3309 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3310 |
\-bootclasspath \fIclasspathlist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3311 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3312 |
ブート・クラスが存在するパスを指定します。ブート・クラスとは、通常、Javaプラットフォーム・クラスのことです。\fBbootclasspath\fRは、\fBjavadoc\fRコマンドがソース・ファイルとクラス・ファイルを探すときに使用する検索パスの一部です。詳細は、クラスの検出方法 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3313 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/findingclasses\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3314 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3315 |
\fBclasspathlist\fRパラメータ内のディレクトリは、セミコロン(;)で区切る(Windowsの場合)か、コロン(:)で区切ります(Oracle Solarisの場合)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3316 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3317 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3318 |
\-extdirs \fIdirist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3319 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3320 |
拡張機能クラスが存在するディレクトリを指定します。拡張機能クラスとは、Java拡張機能機構を使用するすべてのクラスです。\fBextdirs\fRオプションは、\fBjavadoc\fRコマンドがソース・ファイルとクラス・ファイルを探すときに使用する検索パスの一部です。詳細は、\fB\-classpath\fRオプションを参照してください。\fBdirlist\fR内のディレクトリは、セミコロン(;)で区切る(Windowsの場合)か、コロン(:)で区切ります(Oracle Solarisの場合)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3321 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3322 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3323 |
\-verbose |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3324 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3325 |
\fBjavadoc\fRコマンドの実行中に詳細なメッセージを表示します。\fBverbose\fRオプションを指定しないと、ソース・ファイルのロード時、ドキュメントの生成時(ソース・ファイルごとに1つのメッセージ)、およびソート時にメッセージが表示されます。verboseオプションを指定すると、各Javaソース・ファイルの解析に要した時間(ミリ秒単位)を示す追加のメッセージが表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3326 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3327 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3328 |
\-quiet |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3329 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3330 |
メッセージを抑制し、警告とエラーのみが表示されるようにして、これらを確認しやすくします。\fBversion\fR文字列も抑止します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3331 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3332 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3333 |
\-breakiterator |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3334 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3335 |
英語の場合、パッケージ、クラスまたはメンバーの主説明の最初の文の終わりを判断する際に、\fBjava\&.text\&.BreakIterator\fRの国際化された文境界を使用します。他のすべてのロケールは、英語言語というロケール固有のアルゴリズムではなく、すでに\fBBreakIterator\fRクラスを使用しています。最初の文は、パッケージ、クラス、またはメンバーのサマリーにコピーされ、アルファベット順の索引にコピーされます。JDK 1\&.2以降、\fBBreakIterator\fRクラスは、英語を除くすべての言語の文の終わりを判断するために、すでに使用されています。したがって、\fB\-breakiterator\fRオプションは、1\&.2以降では英文以外には効果がありません。英文には、次のような独自のデフォルトのアルゴリズムがあります。 |
23600 | 3336 |
.sp |
3337 |
.RS 4 |
|
3338 |
.ie n \{\ |
|
3339 |
\h'-04'\(bu\h'+03'\c |
|
3340 |
.\} |
|
3341 |
.el \{\ |
|
3342 |
.sp -1 |
|
3343 |
.IP \(bu 2.3 |
|
3344 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3345 |
英文のデフォルトの文区切りアルゴリズム。空白文字またはHTMLブロック・タグ(\fB<P>\fRなど)が続くピリオドで停止します。 |
23600 | 3346 |
.RE |
3347 |
.sp |
|
3348 |
.RS 4 |
|
3349 |
.ie n \{\ |
|
3350 |
\h'-04'\(bu\h'+03'\c |
|
3351 |
.\} |
|
3352 |
.el \{\ |
|
3353 |
.sp -1 |
|
3354 |
.IP \(bu 2.3 |
|
3355 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3356 |
breakiterator文区切りアルゴリズム。次の語が大文字で始まる場合、空白文字が続くピリオド、疑問符、または感嘆符で停止します。このアルゴリズムでは「The serial no\&. is valid」など、ほとんどの省略表記が処理されますが、「Mr\&. Smith」は処理されません。\fB\-breakiterator\fRオプションでは、HTMLタグや、数字または記号で始まる文では停止しません。HTMLタグに埋め込まれている場合でも、アルゴリズムは「\&.\&./filename」の最後のピリオドで停止します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3357 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3358 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3359 |
Java SE 1\&.5では\fB\-breakiterator\fR警告メッセージが削除され、デフォルトの文区切りアルゴリズムは変更されていません。ソース・コードを変更せず、SE 1\&.4\&.xでの\fB\-breakiterator\fRオプションの警告を除去していない場合でも、何もする必要はありません。Java SE 1\&.5\&.0からは警告は消滅しています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3360 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3361 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3362 |
\-locale \fIlanguage_country_variant\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3363 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3364 |
\fBjavadoc\fRコマンドがドキュメントを生成するときに使用するロケールを指定します。この引数は、\fBj\fR\fBava\&.util\&.Locale\fRドキュメントで説明しているように、\fBen_US\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3365 |
(英語、米国)または\fBen_US_WIN\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3366 |
(Windowsバリアント)などのロケールの名前です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3367 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3368 |
\fB注意:\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3369 |
\fB\-locale\fRオプションは、標準ドックレットが提供するすべてのオプション、またはその他の任意のドックレットが提供するすべてのオプションより前(左側)に指定する必要があります。そうしないと、ナビゲーション・バーが英語で表示されます。このコマンド行オプションのみ、指定する順序に依存します。標準ドックレットのオプションを参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3370 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3371 |
ロケールを指定すると、指定したロケールのリソース・ファイルが\fBjavadoc\fRコマンドによって選択されて、メッセージ(ナビゲーション・バー、リストと表の見出し、ヘルプ・ファイルの目次、stylesheet\&.cssのコメントなどの文字列)のために使用されます。また、アルファベット順にソートされるリストのソート順、および最初の文の終わりを判断するための文の区切り文字も、指定したロケールによって決まります。\fB\-locale\fRオプションは、ドキュメント化されるクラスのソース・ファイル内で指定されているドキュメンテーション・コメントのテキストのロケールを決定するものではありません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3372 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3373 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3374 |
\-encoding |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3375 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3376 |
ソース・ファイルのエンコーディングの名前(\fBEUCJIS/SJIS\fRなど)を指定します。このオプションが指定されていない場合は、プラットフォームのデフォルト・コンバータが使用されます。およびオプションも参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3377 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3378 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3379 |
\-J\fIflag\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3380 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3381 |
\fBjavadoc\fRコマンドを実行するJava Runtime Environment (JRE)に、\fBflag\fRを直接渡します。たとえば、生成ドキュメントを処理するためにシステムで32MBのメモリーを確保しておく必要がある場合は、\fB\-Xmx\fRオプションを次のように呼び出します。\fBjavadoc \-J\-Xmx32m \-J\-Xms32m com\&.mypackage\fR。\fB\-Xms\fRは省略可能で、これは初期メモリーのサイズを設定するのみのオプションで、必要なメモリーの最小量がわかっている場合に便利です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3382 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3383 |
\fBJ\fRと\fBflag\fRの間に空白文字はありません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3384 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3385 |
使用している\fBjavadoc\fRコマンドのバージョンを確認するには\fB\-version\fRオプションを使用します。出力ストリームには標準ドックレットのバージョン番号が含まれます。Javadocコマンドの実行を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3386 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3387 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3388 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3389 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3390 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3391 |
\fBjavadoc \-J\-version\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3392 |
\fBjava version "1\&.7\&.0_09"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3393 |
\fBJava(TM) SE Runtime Environment (build 1\&.7\&.0_09\-b05)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3394 |
\fBJava HotSpot(TM) 64\-Bit Server VM (build 23\&.5\-b02, mixed mode)\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3395 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3396 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3397 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3398 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3399 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3400 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3401 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3402 |
\-javafx |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3403 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3404 |
標準ドックレットに対してJavaFX拡張機能を使用して、HTMLドキュメントを生成します。生成されたドキュメントには、標準Javaドックレットで生成された他のサマリー・セクションに加えて「プロパティのサマリー」セクションが含まれています。リストされたプロパティは、各プロパティのgetterおよびsetterメソッドのセクションにリンクされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3405 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3406 |
getterおよびsetterメソッドに対して明示的に記載されているドキュメント・コメントがない場合、プロパティ・メソッドのドキュメント・コメントがこれらのメソッドに対して生成されたドキュメントに自動的にコピーされます。このオプションは、プロパティのデフォルト値を記述できる新しい\fB@defaultValue\fRタグも追加します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3407 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3408 |
例: |
23600 | 3409 |
.sp |
3410 |
.if n \{\ |
|
3411 |
.RS 4 |
|
3412 |
.\} |
|
2 | 3413 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3414 |
\fBjavadoc \-javafx MyClass\&.java \-d testdir\fR |
2 | 3415 |
.fi |
23600 | 3416 |
.if n \{\ |
3417 |
.RE |
|
3418 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3419 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3420 |
.SS "標準ドックレットのオプション" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3421 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3422 |
\-d \fIdirectory\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3423 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3424 |
\fBjavadoc\fRコマンドが生成されたHTMLファイルを保存する生成先ディレクトリを指定します。\fB\-d\fRオプションを省略すると、ファイルは現在のディレクトリに保存されます。\fBdirectory\fRの値には、絶対ディレクトリ、または現在の作業ディレクトリからの相対ディレクトリを指定できます。Java SE 1\&.4では、\fBjavadoc\fRコマンドを実行すると生成先ディレクトリが自動的に作成されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3425 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3426 |
たとえば、次の例では、\fBcom\&.mypackage\fRパッケージのドキュメントが生成され、その結果が/user/doc/ディレクトリに保存されます。\fBjavadoc \-d \fR\fB/user/doc/ \fR\fBcom\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3427 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3428 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3429 |
\-use |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3430 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3431 |
ドキュメント化されるクラスおよびパッケージごとに1つの「使用」ページを組み込みます。このページには、その特定のクラスまたはパッケージのAPIを使用しているパッケージ、クラス、メソッド、コンストラクタ、およびフィールドが記述されます。たとえば、クラスCを例にとると、クラスCを使用しているものとしては、Cのサブクラス、Cとして宣言されているフィールド、Cを返すメソッド、および型Cのパラメータを持つメソッドとコンストラクタがあります。たとえば、\fBString\fR型用の「使用」ページを表示できます。\fBjava\&.awt\&.Font\fRクラスの\fBgetName\fRメソッドは\fBString\fR型を戻すので、\fBgetName\fRメソッドは\fBString\fRを使用し、\fBgetName\fRメソッドが\fBString\fR用の「使用」ページに表示されます。これは実装ではなくAPIの使用のみをドキュメント化します。メソッドがその実装で\fBString\fRを使用するが、引数として文字列を取らない、または文字列を返さない場合、それは\fBString\fRの使用とはみなされません。生成された「使用」ページにアクセスするには、クラスまたはパッケージに移動し、ナビゲーション・バーの\fBリンクの使用\fRをクリックします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3432 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3433 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3434 |
\-version |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3435 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3436 |
生成ドキュメントに、@versionのテキストを組み込みます。このテキストは、デフォルトでは省略されます。使用している\fBjavadoc\fRコマンドのバージョンを確認するには\fB\-J\-version\fRオプションを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3437 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3438 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3439 |
\-author |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3440 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3441 |
生成ドキュメントに、\fB@author\fRのテキストを組み込みます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3442 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3443 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3444 |
\-splitindex |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3445 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3446 |
索引ファイルをアルファベットごとに複数のファイルに分割し、文字ごとに1つのファイルと、アルファベット以外の記号で始まる索引エントリ用に1つのファイルを作成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3447 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3448 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3449 |
\-windowtitle \fItitle\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3450 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3451 |
HTMLの\fB<title>\fRタグに配置するタイトルを指定します。\fBtitle\fRタグに指定したテキストは、ウィンドウのタイトルや、このページに対して作成されたブラウザのブックマーク(お気に入り)に表示されます。このタイトルにはHTMLタグを含めないでください。タイトルにHTMLタグが含まれていると、ブラウザがタグを正しく解釈できません。\fBtitle\fRタグ内の内部の二重引用符はエスケープ文字を使用してマークします。\fB\-windowtitle\fRオプションを省略すると、\fBjavadoc\fRコマンドは、\fB\-windowtitle\fRオプションのかわりに、\fB\-doctitle\fRオプションの値を使用します。たとえば、\fBjavadoc \-windowtitle "Java SE Platform" com\&.mypackage\fRです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3452 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3453 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3454 |
\-doctitle \fItitle\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3455 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3456 |
概要サマリー・ファイルの最上部の近くに配置するタイトルを指定します。\fBtitle\fRタグに指定したテキストは中央揃えになり、レベル1の見出しとして、上部ナビゲーション・バーのすぐ下に置かれます。\fBtitle\fRタグにはHTMLタグおよび空白文字を含めることができますが、その場合、タイトルを引用符で囲む必要があります。\fBtitle\fRタグの内部で引用符を使用する場合は、エスケープする必要があります。たとえば、\fBjavadoc \-header "<b>Java Platform </b><br>v1\&.4" com\&.mypackage\&.\fRとなります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3457 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3458 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3459 |
\-title \fItitle\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3460 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3461 |
すでに存在しません。Javadoc 1\&.2のベータ版にしか存在していませんでした。このオプションは、\fB\-doctitle\fRという名前に変更されました。名前を変更した理由は、このオプションが、ウィンドウのタイトルではなくドキュメントのタイトルを定義することを明確にするためです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3462 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3463 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3464 |
\-header \fIheader\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3465 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3466 |
各出力ファイルの最上部に配置するヘッダー・テキストを指定します。ヘッダーは、ナビゲーション・バーの右上に配置されます。\fBheader\fRにはHTMLタグおよび空白文字を含めることができますが、その場合、\fBheader\fRを引用符で囲む必要があります。ヘッダー内部の引用符にはエスケープ文字を使用します。たとえば、\fBjavadoc \-header "<b>Java Platform </b><br>v1\&.4" com\&.mypackage\&.\fRとなります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3467 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3468 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3469 |
\-footer \fIfooter\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3470 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3471 |
各出力ファイルの最下部に配置するフッター・テキストを指定します。\fIfooter\fRの値は、ナビゲーション・バーの右下に配置されます。\fBfooter\fRにはHTMLタグおよび空白文字を含めることができますが、その場合、\fBfooter\fRを引用符で囲む必要があります。フッター内部の引用符にはエスケープ文字を使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3472 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3473 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3474 |
\-top |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3475 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3476 |
各出力ファイルの最上部に配置するテキストを指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3477 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3478 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3479 |
\-bottom \fItext\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3480 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3481 |
各出力ファイルの最下部に配置するテキストを指定します。このテキストは、下部ナビゲーション・バーより下の、ページの最下部に配置されます。テキストにはHTMLタグおよび空白文字を含めることができますが、その場合、テキストを引用符で囲む必要があります。テキスト内部の引用符にはエスケープ文字を使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3482 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3483 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3484 |
\-link \fIextdocURL\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3485 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3486 |
既存のJavadocにより生成された外部参照クラスのドキュメントへのリンクを作成します。\fIextdocURL\fR引数は、リンク先として指定する、Javadocにより生成された外部ドキュメントを含むディレクトリの絶対URLまたは相対URLです。指定した\fBjavadoc\fRコマンドの実行で、複数の\fB\-link\fRオプションを指定して複数のドキュメントへのリンクを作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3487 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3488 |
このディレクトリ内にpackage\-listファイルが存在する必要があります(存在しない場合は、\fB\-linkoffline\fRオプションを使用します)。\fBjavadoc\fRコマンドは、package\-listファイルからパッケージ名を読み取った後、そのURLでこれらのパッケージにリンクします。\fBjavadoc\fRコマンドの実行時に、\fBextdocURL\fRの値が、作成された\fB<A HREF>\fRリンク内にコピーされます。したがって、\fBextdocURL\fRはファイルではなくディレクトリへのURLである必要があります。\fIextdocURL\fRに絶対リンクを使用すると、ユーザーのドキュメントを任意のWebサイト上のドキュメントにリンクできます。相対位置へリンクするのみの場合は相対リンクを使用できます。相対リンクを使用する場合、渡す値は宛先ディレクトリから、リンクされているパッケージを含むディレクトリへである必要があります(\fB\-d\fRオプションで指定)。絶対リンクを指定する場合、通常、HTTPリンクを使用します。ただし、Webサーバーを持たないファイル・システムにリンクする場合は、ファイル・リンクを使用できます。生成されたドキュメンテーションにアクセスする全員が同じファイル・システムを共有する場合にのみファイル・リンクを使用します。どの場合も、どのオペレーティング・システムでも、URLが絶対または相対のいずれでも、また\fBh\fR\fBttp:\fRまたは\fBf\fR\fBile:\fRのいずれでも、URLメモ: Uniform Resource Locators |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3489 |
(http://www\&.ietf\&.org/rfc/rfc1738\&.txt)に指定されているとおり、区切り文字としてスラッシュを使用します。 |
23600 | 3490 |
.sp |
3491 |
.if n \{\ |
|
3492 |
.RS 4 |
|
3493 |
.\} |
|
2 | 3494 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3495 |
\fB\-link http://<host>/<directory>/<directory>/\&.\&.\&./<name>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3496 |
\fB\-link file://<host>/<directory>/<directory>/\&.\&.\&./<name>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3497 |
\fB\-link <directory>/<directory>/\&.\&.\&./<name>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3498 |
|
2692 | 3499 |
.fi |
23600 | 3500 |
.if n \{\ |
3501 |
.RE |
|
3502 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3503 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3504 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3505 |
\-linkofflineおよび\-linkオプションの違い |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3506 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3507 |
次の場合に、\fB\-link\fRオプションを使用します。 |
23600 | 3508 |
.sp |
3509 |
.RS 4 |
|
3510 |
.ie n \{\ |
|
3511 |
\h'-04'\(bu\h'+03'\c |
|
3512 |
.\} |
|
3513 |
.el \{\ |
|
3514 |
.sp -1 |
|
3515 |
.IP \(bu 2.3 |
|
3516 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3517 |
外部APIドキュメントへの相対パスを使用する場合。 |
23600 | 3518 |
.RE |
3519 |
.sp |
|
3520 |
.RS 4 |
|
3521 |
.ie n \{\ |
|
3522 |
\h'-04'\(bu\h'+03'\c |
|
3523 |
.\} |
|
3524 |
.el \{\ |
|
3525 |
.sp -1 |
|
3526 |
.IP \(bu 2.3 |
|
3527 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3528 |
外部APIドキュメントへの絶対URLを使用する場合(そのURLに接続し、読取りを行うことがシェルによって許可されている場合)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3529 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3530 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3531 |
外部APIドキュメントへの絶対URLを使用する場合(そのURLに接続し、読取りを行うことがシェルによって許可されていない場合)は\fB\-linkoffline\fRオプションを使用します。このような状況は、ファイアウォールの内側からファイアウォールの外側にあるドキュメントにリンクしようとする場合に発生します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3532 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3533 |
\fB例 1 \fR外部ドキュメントへの絶対リンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3534 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3535 |
http://docs\&.oracle\&.com/javase/8/docs/api/index\&.htmlに示すような、\fBjava\&.lang\fR、\fBjava\&.io\fRおよびその他のJavaプラットフォーム・パッケージにリンクする場合、次のコマンドを使用します |
23600 | 3536 |
.sp |
3537 |
.if n \{\ |
|
3538 |
.RS 4 |
|
3539 |
.\} |
|
2692 | 3540 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3541 |
\fBjavadoc \-link http://docs\&.oracle\&.com/javase/8/docs/api/ com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3542 |
|
2692 | 3543 |
.fi |
23600 | 3544 |
.if n \{\ |
3545 |
.RE |
|
3546 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3547 |
このコマンドは、Java SEプラットフォーム・パッケージへのリンク持つ\fBcom\&.mypackage\fRパッケージのドキュメントを生成します。生成ドキュメントには、たとえばクラス\fBtrees\fR内の\fBObject\fRクラスへのリンクが含まれています。\fB\-sourcepath\fRや\fB\-d\fRなどの他のオプションは表示されません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3548 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3549 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3550 |
\fB例 2 \fR外部ドキュメントへの相対リンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3551 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3552 |
この例では、2つのパッケージがあり、そのドキュメントは\fBjavadoc\fRコマンドを複数回実行した結果生成されたものです。さらに、これらのドキュメントは相対パスで分割されています。パッケージは、APIである\fBcom\&.apipackage\fRと、SPI(サービス・プロバイダ・インタフェース)であるc\fBom\&.spipackage\fRです。ドキュメントの格納先は、docs/api/com/apipackageとdocs/spi/com/spipackageです。APIパッケージのドキュメントはすでに生成されていて、docsが現在のディレクトリである場合、APIドキュメントへのリンクを持つSPIパッケージをドキュメント化するには、次のコマンドを実行します。\fBjavadoc \-d \&./spi \-link \&.\&./api com\&.spipackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3553 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3554 |
\fB\-link\fRオプションは、宛先ディレクトリ(docs/spi)からの相対パスです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3555 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3556 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3557 |
注意 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3558 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3559 |
\fB\-link\fRオプションを使用すると、コードからは参照されていても、今回の\fBjavadoc\fRの実行ではドキュメント化されないクラスにリンクできるようになります。リンクから有効なページに移動できるようにするには、それらのHTMLページがある場所を調べ、その場所を\fBextdocURL\fRに指定する必要があります。これにより、サードパーティのドキュメンテーションがjava\&.*ドキュメンテーション( |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3560 |
http://docs\&.oracle\&.com)へリンクすることができます。\fBjavadoc\fRコマンドで、現在の実行で生成しているドキュメンテーション内のAPIへのリンクのみを作成する場合には、\fB\-link\fRオプションを省略します。\fB\-link\fRオプションを指定しないと、\fBjavadoc\fRコマンドは外部参照のためのドキュメンテーションへのリンクを作成しません。ドキュメンテーションが存在するのかどうか、またはどこに存在するのかがわからないからです。\fB\-link\fRオプションでは、生成ドキュメンテーション内の複数の場所にリンクを作成できます。ソース・ファイルの処理を参照してください。もう1つの用途は、パッケージ・セットの間にクロスリンクを作成することです。一方のパッケージ・セットに対して\fBjavadoc\fRコマンドを実行した後、他方のパッケージ・セットに対して\fBjavadoc\fRコマンドを再度実行すると、両セット間に双方向のリンクを作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3561 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3562 |
クラスの参照方法 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3563 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3564 |
表示される外部参照クラスへのリンクの場合(およびそのテキスト・ラベルだけではなく)、クラスは次の方法で参照される必要があります。メソッドの本体でクラスを参照するのみでは十分ではありません。\fBimport\fR文、宣言のいずれかで参照する必要があります。次に、クラス\fBjava\&.io\&.File\fRを参照する方法の例を示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3565 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3566 |
すべてのタイプのimport文の場合。ワイルドカードによるインポート、名前による明示的なインポート、または\fBjava\&.lang\&.*\fRに対する自動インポート。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3567 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3568 |
Java SE 1\&.3\&.\fIn\fRおよび1\&.2\&.\fIn\fRでは、名前による明示的なインポートのみ機能します。ワイルドカードによる\fBimport\fR文も、\fBimport java\&.lang\&.*\fRの自動インポートも機能しません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3569 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3570 |
宣言の場合: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3571 |
\fBvoid mymethod(File f) {}\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3572 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3573 |
参照は、メソッド、コンストラクタ、フィールド、クラスまたはインタフェースの戻り型またはパラメータ・タイプ、あるいは実装、拡張またはスロー文にあります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3574 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3575 |
重要な結果として、\fB\-link\fRオプションを使用しても、この制限のために誤って表示されないリンクが多数発生する可能性があります。テキストはハイパーテキスト・リンクが付けられずに表示されます。リンクが表示する警告から、これらのリンクを認識できます。クラスを正しく参照し、それによってリンクを追加するための最も簡単な方法はそのクラスをインポートすることです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3576 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3577 |
パッケージ・リスト |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3578 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3579 |
\fB\-link\fRオプションには、\fBjavadoc\fRコマンドによって生成されるpackage\-listという名前のファイルが、\fB\-link\fRオプションに指定したURLに存在していることが必要です。package\-listファイルは、その場所にあるドキュメント化されたパッケージの名前のリストが入った単純なテキスト・ファイルです。前述の例では、\fBjavadoc\fRコマンドは、指定したURLでpackage\-listという名前のファイルを検索し、パッケージ名を読み取って、そのURLでこれらのパッケージにリンクします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3580 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3581 |
たとえば、Java SE APIのパッケージ・リストは |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3582 |
http://docs\&.oracle\&.com/javase/8/docs/api/package\-listにあります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3583 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3584 |
このパッケージ・リストは次のような内容で始まっています。 |
23600 | 3585 |
.sp |
3586 |
.if n \{\ |
|
3587 |
.RS 4 |
|
3588 |
.\} |
|
3589 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3590 |
\fBjava\&.applet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3591 |
\fBjava\&.awt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3592 |
\fBjava\&.awt\&.color\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3593 |
\fBjava\&.awt\&.datatransfer\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3594 |
\fBjava\&.awt\&.dnd\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3595 |
\fBjava\&.awt\&.event\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3596 |
\fBjava\&.awt\&.font\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3597 |
\fBand so on \&.\&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3598 |
|
2692 | 3599 |
.fi |
23600 | 3600 |
.if n \{\ |
3601 |
.RE |
|
3602 |
.\} |
|
3603 |
.PP |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3604 |
\fB\-link\fRオプションを指定せずに\fBjavadoc\fRを実行した場合、外部参照クラスに属する名前を見つけると、その名前をリンクなしで出力します。一方、\fB\-link\fRオプションを指定した場合、\fBjavadoc\fRコマンドは、指定された\fIextdocURL\fRの場所にあるpackage\-listファイルでそのパッケージ名を検索します。パッケージ名が見つかると、\fIextdocURL\fRが名前の前に付加されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3605 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3606 |
すべてのリンクが正しく機能するためには、外部参照のすべてのドキュメントが、指定したURLに存在する必要があります。\fBjavadoc\fRコマンドは、指定されたpackage\-listが存在するかどうかのみをチェックし、これらのページが存在するかどうかはチェックしません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3607 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3608 |
複数のリンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3609 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3610 |
複数の\fB\-link\fRオプションを指定すると、任意の数の外部生成ドキュメントへのリンクを作成できます。Javadoc 1\&.2には、複数の\fB\-link\fRオプションを指定できないという既知のbugがあります。これはJavadoc 1\&.2\&.2で修正されました。リンクする外部ドキュメントごとに、次のように別々のリンク・オプションを指定します。\fBjavadoc \-link extdocURL1 \-link extdocURL2 \&.\&.\&. \-link extdocURLn com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3611 |
\fIextdocURL1\fR、\fIextdocURL2\fR、\&.\fB\&.\&. extdocURLn\fRは、それぞれ外部ドキュメントのルートを指し、各ルートには、package\-listという名前のファイルが入っています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3612 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3613 |
クロスリンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3614 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3615 |
以前に作成された複数のドキュメントをクロスリンクする場合、ブートストラップが必要になることがあります。どのドキュメントについてもpackage\-listが存在していない場合は、最初のドキュメントに対して\fBjavadoc\fRコマンドを実行する時点で、2番目のドキュメントのpackage\-listはまだ存在していません。したがって、外部リンクを作成するには、2番目のドキュメントを生成した後で、最初のドキュメントを生成しなおす必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3616 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3617 |
この場合、最初のドキュメント生成の目的は、package\-listを作成することです(パッケージ名を把握している場合は手動で作成してもかまいません)。次に、2番目のドキュメントとその外部リンクを生成します。必要な外部のpackage\-listファイルが存在しない場合は、\fBjavadoc\fRコマンドから警告が出力されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3618 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3619 |
\-linkoffline \fIextdocURL packagelistLoc\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3620 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3621 |
このオプションは\fB\-link\fRオプションのバリエーションです。両方とも、Javadocにより生成された外部参照クラスのドキュメントへのリンクを作成します。\fBjavadoc\fRコマンドがWeb接続を使用してドキュメントにアクセスできないとき、Web上のドキュメントにリンクするには、\fB\-link\fRo\fBffline\fRオプションを使用します。外部ドキュメントのpackage\-listファイルにアクセスできないとき、またはこのファイルが\fBextdocURL\fRで指定された場所には存在せず、\fBpackageListLoc\fRで指定できる別の場所(通常ローカル)に存在するとき、\fB\-linkoffline\fRオプションを使用します。\fBextdocURL\fRにWorld Wide Web上でしかアクセスできない場合は、\fB\-linkoffline\fRオプションを指定することにより、ドキュメントの生成時に\fBjavadoc\fRコマンドがWebに接続する必要があるという制約がなくなります。もう1つの用途は、ドキュメントを更新するための回避策として使用することです。パッケージのセット全体に対して\fBjavadoc\fRコマンドを実行した後、変更した一部のパッケージに対してのみ\fBjavadoc\fRコマンドを再度実行して、更新されたファイルを、オリジナルのセットに挿入できるようにします。次に例を示します。\fB\-linkoffline\fRオプションは引数を2つ取ります。第1引数は\fB<a href>\fRリンクに組み込まれる文字列を指定し、第2引数はpackage\-listの検索場所を\fB\-linkoffline\fRに伝えます。 |
23600 | 3622 |
.sp |
3623 |
.RS 4 |
|
3624 |
.ie n \{\ |
|
3625 |
\h'-04'\(bu\h'+03'\c |
|
3626 |
.\} |
|
3627 |
.el \{\ |
|
3628 |
.sp -1 |
|
3629 |
.IP \(bu 2.3 |
|
3630 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3631 |
\fBextdocURL\fRの値は、リンク先として指定する、Javadocにより生成された外部ドキュメントを含むディレクトリの絶対URLまたは相対URLです。相対URLの場合、値は、生成先ディレクトリ(\fB\-d\fRオプションで指定)からリンク先となるパッケージのルートへの相対パスにする必要があります。詳細は、\fB\-link\fRオプションの\fIextdocURL\fRを参照してください。 |
23600 | 3632 |
.RE |
3633 |
.sp |
|
3634 |
.RS 4 |
|
3635 |
.ie n \{\ |
|
3636 |
\h'-04'\(bu\h'+03'\c |
|
3637 |
.\} |
|
3638 |
.el \{\ |
|
3639 |
.sp -1 |
|
3640 |
.IP \(bu 2.3 |
|
3641 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3642 |
\fBpackagelistLoc\fRの値は、外部ドキュメントのpackage\-listファイルを含むディレクトリへのパスまたはURLです。これは、URL (http:またはfile:)でもファイル・パスでもかまいません。また、絶対パスと相対パスのどちらでもかまいません。相対パスの場合は、\fBjavadoc\fRコマンドが実行される現在のディレクトリからの相対パスとして指定します。package\-listファイル名を含めないでください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3643 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3644 |
指定した\fBjavadoc\fRコマンドの実行で、複数の\fB\-link\fRオプションを指定できます。Javadoc 1\&.2\&.2より前では、\fB\-linkfile\fRオプションは1回しか指定できませんでした。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3645 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3646 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3647 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3648 |
外部ドキュメントへの絶対リンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3649 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3650 |
http://docs\&.oracle\&.com/javase/8/docs/api/index\&.htmlに示すような、\fBjava\&.lang\fR、 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3651 |
\fBjava\&.io\fRおよびその他のJava SEパッケージにリンクする必要がある場合があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3652 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3653 |
ただし、シェルにはWebアクセス権がありません。この場合、次を行います。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3654 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3655 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3656 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3657 |
\h'-04' 1.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3658 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3659 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3660 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3661 |
.IP " 1." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3662 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3663 |
ブラウザでpackage\-listファイルを開きます(http://docs\&.oracle\&.com/javase/8/docs/api/package\-list) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3664 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3665 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3666 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3667 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3668 |
\h'-04' 2.\h'+01'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3669 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3670 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3671 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3672 |
.IP " 2." 4.2 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3673 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3674 |
ファイルをローカル・ディレクトリに保存し、このローカル・コピーを第2引数\fBpackagelistLoc\fRで指定します。この例では、パッケージ・リスト・ファイルはカレント・ディレクトリ(\&.)に保存されています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3675 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3676 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3677 |
次のコマンドは、Java SEプラットフォーム・パッケージへのリンクを持つc\fBom\&.mypackage\fRパッケージのドキュメントを生成します。生成ドキュメントには、たとえばクラス\fBtrees\fR内の\fBObject\fRクラスへのリンクが含まれています。\fB\-sourcepath\fRなど、他の必要なオプションは表示されません。 |
23600 | 3678 |
.sp |
3679 |
.if n \{\ |
|
3680 |
.RS 4 |
|
3681 |
.\} |
|
2 | 3682 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3683 |
\fBjavadoc \-linkoffline http://docs\&.oracle\&.com/javase/8/docs/api/ \&. com\&.mypackage \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3684 |
|
23600 | 3685 |
.fi |
3686 |
.if n \{\ |
|
3687 |
.RE |
|
3688 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3689 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3690 |
外部ドキュメントへの相対リンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3691 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3692 |
\fB\-linkoffline\fRを相対パスとともに使用することはあまりありません。理由は単純で、通常は\fB\-link\fRで間に合うからです。\fB\-linkoffline\fRオプションを使用する場合、通常、package\-listファイルはローカルで、相対リンクを使用する場合はリンク先のファイルもローカルなので、通常は\fB\-linkoffline\fRオプションの2つの引数に、異なるパスを指定する必要はありません。2つの引数が同一の場合、\fB\-link\fRオプションを使用できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3693 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3694 |
package\-listファイルの手動での作成 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3695 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3696 |
package\-listファイルがまだ存在しなくても、ドキュメントのリンク先のパッケージ名がわかっている場合は、このファイルのコピーを手動で作成し、\fBpackagelistLoc\fRでそのパスを指定することができます。\fBcom\&.apipackage\fRが最初に生成された時点で\fBcom\&.spipackage\fRのパッケージ・リストが存在しないという前出のケースが一例として挙げられます。この方法は、パッケージ名はわかっているものの、まだ公開されていない、新しい外部ドキュメントにリンクするドキュメントを生成する必要がある場合に便利です。また、package\-listファイルが生成されないJavadoc 1\&.0または1\&.1で生成されたパッケージ用にpackage\-listファイルを作成する場合にも、この方法が使用できます。同様に、2つの企業が未公開のpackage\-listファイルを共有できるため、クロスリンクを設定したドキュメントを同時にリリースすることも可能になります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3697 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3698 |
複数ドキュメントへのリンク |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3699 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3700 |
参照先の生成ドキュメントごとに1回、\fB\-linkoffline\fRオプションを含めることができます。 |
23600 | 3701 |
.sp |
3702 |
.if n \{\ |
|
3703 |
.RS 4 |
|
3704 |
.\} |
|
2692 | 3705 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3706 |
\fBjavadoc \-linkoffline extdocURL1 packagelistLoc1 \-linkoffline extdocURL2\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3707 |
\fBpackagelistLoc2 \&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3708 |
|
2692 | 3709 |
.fi |
23600 | 3710 |
.if n \{\ |
3711 |
.RE |
|
3712 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3713 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3714 |
ドキュメントの更新 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3715 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3716 |
プロジェクトに何十または何百のパッケージが含まれる場合にも、\fB\-linkoffline\fRオプションを使用できます。ソース・ツリー全体ですでに\fBjavadoc\fRコマンドを実行したことがある場合、ドキュメンテーション・コメントにわずかな変更を迅速に加え、ソース・ツリーの一部で\fBjavadoc\fRコマンドを再実行することができます。2回目の実行は、ドキュメンテーション・コメントを変更し、宣言は変更しない場合にのみ正しく処理されることに注意してください。ソース・コードに対して宣言を追加、削除、または変更した場合は、索引、パッケージ・ツリー、継承されるメンバーのリスト、「使用」ページなどの場所で、リンクが壊れることがあります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3717 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3718 |
まず、この新しい小規模な実行で使用する、新しい生成先ディレクトリ(updateなど)を作成します。この例では、元の生成先ディレクトリの名前はhtmlです。最も単純な例では、htmlディレクトリの親ディレクトリに移動します。\fB\-linkoffline\fRオプションの第1引数にカレント・ディレクトリ(\&.)を設定し、第2引数にpackage\-listが検索されるhtmlへの相対パスを設定し、更新するパッケージのパッケージ名のみを渡します。 |
23600 | 3719 |
.sp |
3720 |
.if n \{\ |
|
3721 |
.RS 4 |
|
3722 |
.\} |
|
2692 | 3723 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3724 |
\fBjavadoc \-d update \-linkoffline \&. html com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3725 |
|
2692 | 3726 |
.fi |
23600 | 3727 |
.if n \{\ |
3728 |
.RE |
|
3729 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3730 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3731 |
\fBjavadoc\fRコマンドの終了後、update/com/package内の生成されたクラスのページをコピーし(概要や索引は除く)、html/com/package内の元のファイルに上書きします。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3732 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3733 |
\-linksource |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3734 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3735 |
各ソース・ファイル(行番号付き)のHTMLバージョンを作成し、標準HTMLドキュメントからソース・ファイルへのリンクを追加します。リンクは、ソース・ファイル内に宣言されているクラス、インタフェース、コンストラクタ、メソッド、フィールドに対して作成されます。デフォルト・コンストラクタ、生成されたクラスなどに対しては作成されません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3736 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3737 |
このオプションは、\fB\-public\fR、\fB\-package\fR、\fB\-protected\fRおよび\fB\-private\fRの各オプションとは関係なく、非公開のクラス、フィールド、非公開のメソッドの本体をはじめとする組み込まれたソース・ファイル内のすべての非公開実装の詳細を公開します。\fB\-private\fRオプションもあわせて指定しないかぎり、非公開のクラスやインタフェースの一部には、リンクを介してアクセスできないことがあります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3738 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3739 |
各リンクは、その宣言内の識別子名の上に作成されます。たとえば、\fBButton\fRクラスのソース・コードへのリンクは、\fBButton\fRという語の上に作成されます。 |
23600 | 3740 |
.sp |
3741 |
.if n \{\ |
|
3742 |
.RS 4 |
|
3743 |
.\} |
|
2692 | 3744 |
.nf |
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3745 |
\fBpublic class Button extends Component implements Accessible\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3746 |
|
2 | 3747 |
.fi |
23600 | 3748 |
.if n \{\ |
3749 |
.RE |
|
3750 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3751 |
\fBButton\fRクラスの\fBgetLabel\fRメソッドのソース・コードへのリンクは、\fBgetLabel\fRという語の上に作成されます。 |
23600 | 3752 |
.sp |
3753 |
.if n \{\ |
|
3754 |
.RS 4 |
|
3755 |
.\} |
|
3756 |
.nf |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3757 |
\fBpublic String getLabel()\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3758 |
|
2 | 3759 |
.fi |
23600 | 3760 |
.if n \{\ |
3761 |
.RE |
|
3762 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3763 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3764 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3765 |
\-group groupheading \fIpackagepattern:packagepattern\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3766 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3767 |
概要ページの複数のパッケージを、指定したグループに分けて、グループごとに表を作成します。各グループは、それぞれ別の\fB\-group\fRオプションで指定します。グループは、コマンド行で指定された順序でページに表示されます。パッケージは、グループ内でアルファベット順になっています。指定した\fB\-group\fRオプションでは、\fBpackagepattern\fR式のリストに一致するパッケージが、見出しとして\fIgroupheading\fRを持つ1つの表に表示されます。 |
23600 | 3768 |
.sp |
3769 |
.RS 4 |
|
3770 |
.ie n \{\ |
|
3771 |
\h'-04'\(bu\h'+03'\c |
|
3772 |
.\} |
|
3773 |
.el \{\ |
|
3774 |
.sp -1 |
|
3775 |
.IP \(bu 2.3 |
|
3776 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3777 |
\fBgroupheading\fRには、任意のテキストを指定でき、空白を含めることができます。指定したテキストは、グループの表見出しになります。 |
23600 | 3778 |
.RE |
3779 |
.sp |
|
3780 |
.RS 4 |
|
3781 |
.ie n \{\ |
|
3782 |
\h'-04'\(bu\h'+03'\c |
|
3783 |
.\} |
|
3784 |
.el \{\ |
|
3785 |
.sp -1 |
|
3786 |
.IP \(bu 2.3 |
|
3787 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3788 |
\fBpackagepattern\fRの値には、任意のパッケージ名の先頭部分とそれに続く1つのアスタリスク(*)で任意のパッケージ名を指定できます。アスタリスクは使用できる唯一のワイルドカードで、任意の文字に一致する、という意味です。1つのグループには、コロン(:)で区切って複数のパターンを含めることができます。パターンまたはパターン・リストでアスタリスクを使用する場合、パターン・リストは\fB"java\&.lang*:java\&.util"\fRのように引用符で囲む必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3789 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3790 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3791 |
\fB\-group\fRオプションを指定しない場合は、見出し\fIPackages\fRおよび適切な小見出しを持つ1つのグループに配置されます。小見出しにすべてのドキュメント化されるパッケージ(すべてのグループ)が含まれるわけではない場合、残りのパッケージは「その他のパッケージ」というサブ見出しを持つ独立したグループに入れられます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3792 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3793 |
たとえば、次の\fBjavadoc\fRコマンドでは、3つのドキュメント化されたパッケージが\fI「コア」\fR、\fI「拡張」\fRおよび\fI「その他のパッケージ」\fRに分けられます。\fBjava\&.lang*\fRでは、最後のドット(\&.)を指定していません。\fBjava\&.lang\&.*\fRのようにドットを入れると、\fB java\&.lang\fRパッケージは除外されることになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3794 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3795 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3796 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3797 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3798 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3799 |
\fBjavadoc \-group "Core Packages" "java\&.lang*:java\&.util"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3800 |
\fB \-group "Extension Packages" "javax\&.*"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3801 |
\fB java\&.lang java\&.lang\&.reflect java\&.util javax\&.servlet java\&.new\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3802 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3803 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3804 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3805 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3806 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3807 |
\fBコア・パッケージ\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3808 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3809 |
\fBjava\&.lang\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3810 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3811 |
\fBjava\&.lang\&.reflect\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3812 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3813 |
\fBjava\&.util\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3814 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3815 |
\fB拡張機能パッケージ\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3816 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3817 |
\fBjavax\&.servlet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3818 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3819 |
\fBOther Packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3820 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3821 |
\fBjava\&.new\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3822 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3823 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3824 |
\-nodeprecated |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3825 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3826 |
非推奨のAPIをドキュメントに生成しないようにします。このオプションを指定すると、\fB\-nodeprecatedlist\fRオプションを指定した場合と同じ効果があり、ドキュメントの他の部分全体でも、非推奨のAPIが生成されません。このオプションは、コードを記述しているとき、非推奨のコードによって気を散らされたくない場合に便利です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3827 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3828 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3829 |
\-nodeprecatedlist |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3830 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3831 |
非推奨のAPIのリストを含むファイル(deprecated\-list\&.html)、およびナビゲーション・バーのそのページへのリンクが生成されないようにします。\fBjavadoc\fRコマンドでは、引き続き、ドキュメントの他の部分では、非推奨のAPIが生成されます。このオプションは、非推奨のAPIがソース・コードに含まれておらず、ナビゲーション・バーをすっきりと見せる場合に便利です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3832 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3833 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3834 |
\-nosince |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3835 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3836 |
生成ドキュメントから、\fB@since\fRタグに関連付けられた\fB「導入されたバージョン」\fRセクションを省略します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3837 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3838 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3839 |
\-notree |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3840 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3841 |
生成ドキュメントから、クラスおよびインタフェースの階層ページを省略します。これらのページには、ナビゲーション・バーの「階層ツリー」ボタンからアクセスできます。デフォルトでは、階層が生成されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3842 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3843 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3844 |
\-noindex |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3845 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3846 |
生成ドキュメントから、索引を省略します。デフォルトでは、索引が生成されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3847 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3848 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3849 |
\-nohelp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3850 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3851 |
出力の各ページの最上部と最下部にあるナビゲーション・バーから「ヘルプ」リンクを省略します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3852 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3853 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3854 |
\-nonavbar |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3855 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3856 |
通常、生成されるページの最上部と最下部に表示されるナビゲーション・バー、ヘッダー、およびフッターを生成しないようにします。\fB\-nonavbar\fRオプションは\fB\-bottom\fRオプションに影響を与えません。\fB\-nonavbar\fRオプションは、印刷するためにのみファイルをPostScriptやPDFに変換する場合など、内容のみが重要で、ナビゲーションの必要がない場合に便利です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3857 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3858 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3859 |
\-helpfile \fIpath\efilename\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3860 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3861 |
最上部および最下部のナビゲーション・バーの「ヘルプ」リンクのリンク先となる代替ヘルプ・ファイルpath\efilenameのパスを指定します。このオプションが指定されていないと、\fBjavadoc\fRコマンドは、\fBjavadoc\fRコマンド内でハードコードされているヘルプ・ファイルhelp\-doc\&.htmlを自動作成します。このオプションを使用すると、デフォルトをオーバーライドできます。ファイル名にはどんな名前でも指定でき、help\-doc\&.htmlに限定されません。\fBjavadoc\fRコマンドは、次の例のように、ナビゲーション・バー内のリンクを必要に応じて調整します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3862 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3863 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3864 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3865 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3866 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3867 |
\fBjavadoc \-helpfile /home/user/myhelp\&.html java\&.awt\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3868 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3869 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3870 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3871 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3872 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3873 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3874 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3875 |
\-stylesheet \fIpath/filename \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3876 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3877 |
代替HTMLスタイルシート・ファイルのパスを指定します。このオプションが指定されていないと、\fBjavadoc\fRコマンドは、\fBjavadoc\fRコマンド内でハードコードされているスタイルシート・ファイルstylesheet\&.cssを自動作成します。このオプションを使用すると、デフォルトをオーバーライドできます。ファイル名にはどんな名前でも指定でき、stylesheet\&.cssに限定されません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3878 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3879 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3880 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3881 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3882 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3883 |
\fBjavadoc \-stylesheet file /home/user/mystylesheet\&.css com\&.mypackage\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3884 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3885 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3886 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3887 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3888 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3889 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3890 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3891 |
\-serialwarn |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3892 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3893 |
\fB@serial\fRタグがない場合は、コンパイル時に警告を生成します。デフォルトでは、Javadoc 1\&.2\&.2以降では、直列化の警告は生成されません。以前のリリースとは逆の動作です。このオプションを使用すると、直列化の警告が表示されるので、デフォルトの直列化可能フィールドと\fBwriteExternal\fRメソッドを適切にドキュメント化するのに役立ちます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3894 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3895 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3896 |
\-charset \fIname\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3897 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3898 |
このドキュメント用のHTML文字セットを指定します。この名前は、IANA RegistryのCharacter Sets |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3899 |
(http://www\&.iana\&.org/assignments/character\-sets)に示された、優先MIME名である必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3900 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3901 |
たとえば、\fBjavadoc \-charset "iso\-8859\-1" mypackage\fRは次の行を生成された各ページのヘッダーに挿入します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3902 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3903 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3904 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3905 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3906 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3907 |
\fB<META http\-equiv="Content\-Type" content="text/html; charset=ISO\-8859\-1">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3908 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3909 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3910 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3911 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3912 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3913 |
この\fBMETA\fRタグは、HTML標準(4197265および4137321)のHTML Document Representation |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3914 |
(http://www\&.w3\&.org/TR/REC\-html40/charset\&.html#h\-5\&.2\&.2)に記載されています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3915 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3916 |
およびオプションも参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3917 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3918 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3919 |
\-docencoding \fIname\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3920 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3921 |
生成されるHTMLファイルのエンコーディングを指定します。この名前は、IANA RegistryのCharacter Sets |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3922 |
(http://www\&.iana\&.org/assignments/character\-sets)に示された、優先MIME名である必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3923 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3924 |
\fB\-docencoding\fRオプションを省略し、\fB\-encoding\fRオプションを使用すると、生成されたHTMLファイルの暗号化は\fB\-encoding\fRオプションで特定されます。例: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3925 |
\fBjavadoc \-docencoding "iso\-8859\-1" mypackage\fRおよびオプションも参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3926 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3927 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3928 |
\-keywords |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3929 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3930 |
HTMLキーワード<META>タグを、クラスごとに生成されるファイルに追加します。これらのタグは、<META>タグを検索するサーチ・エンジンがページを見つける場合に役立ちます。インターネット全体を検索する検索エンジンのほとんどは<META>タグを参照しません。ページが誤用している可能性があるからです。自身のWebサイトへの検索を制限する、企業により提供される検索エンジンは、<META>タグを参照することで恩恵を受けることができます。<META>タグには、クラスの完全修飾名と、フィールドおよびメソッドの修飾されていない名前が含まれます。コンストラクタは、クラス名と同じであるため含まれません。たとえば、クラス\fBString\fRは次のキーワードで開始します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3931 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3932 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3933 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3934 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3935 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3936 |
\fB<META NAME="keywords" CONTENT="java\&.lang\&.String class">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3937 |
\fB<META NAME="keywords" CONTENT="CASE_INSENSITIVE_ORDER">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3938 |
\fB<META NAME="keywords" CONTENT="length()">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3939 |
\fB<META NAME="keywords" CONTENT="charAt()">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3940 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3941 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3942 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3943 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3944 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3945 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3946 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3947 |
\-tag \fItagname\fR:Xaoptcmf:"\fItaghead\fR" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3948 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3949 |
\fBjavadoc\fRコマンドがドキュメンテーション・コメント内の引数を1つ取る単純なカスタム・ブロック・タグ\fB@tagname\fRを解釈できるようにします。これにより、\fBjavadoc\fRコマンドはタグ名のスペルチェックを行うことができるので、ソース・コード内に存在するすべてのカスタム・タグについて、\fB\-tag\fRオプションを組み込むことが重要です。今回の実行では出力されないタグは、\fBX\fRを付けて無効にします。\fB\-tag\fRオプションは、タグの見出し\fItaghead\fRを太字で出力します。その次の行には、このオプションの1つの引数で指定したテキストが続きます。ブロック・タグと同様、この引数のテキストにはインライン・タグを含めることができます。このインライン・タグも解釈されます。出力は、引数を1つ取る標準のタグ(\fB@return\fRや\fB@author\fRなど)の出力とよく似ています。\fItaghead\fRの値を省略すると、\fBtagname\fRが見出しとして表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3950 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3951 |
\fBタグの配置\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3952 |
\fBXaoptcmf\fR引数により、ソース・コード内でタグを配置できる場所が決まり、タグを無効にできるかどうか(\fBX\fRを使用して)が決まります。タグの配置位置を制限しない場合は\fBa\fRを指定します。それ以外の文字の組合せも可能です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3953 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3954 |
\fBX\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3955 |
(タグの無効化) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3956 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3957 |
\fBa\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3958 |
(すべて) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3959 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3960 |
\fBo\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3961 |
(概要) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3962 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3963 |
\fBp\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3964 |
(パッケージ) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3965 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3966 |
\fBt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3967 |
(タイプ、つまりクラスとインタフェース) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3968 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3969 |
\fBc\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3970 |
(コンストラクタ) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3971 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3972 |
\fBm\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3973 |
(メソッド) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3974 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3975 |
\fBf\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3976 |
(フィールド) |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3977 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3978 |
\fBシングル・タグの例\fR: ソース・コード内の任意の位置で使用できるタグのタグ・オプションの例を示します。\fB\-tag todo:a:"To Do:"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3979 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3980 |
\fB@todo\fRタグをコンストラクタ、メソッドおよびフィールドとのみ使用する場合、\fB\-tag todo:cmf:"To Do:"\fRを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3981 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3982 |
最後のコロン(:)は、パラメータ区切り文字ではなく、見出しテキストの一部になっています。\fB@todo\fRタグを含む、ソース・コード用のいずれかのタグ・オプションを使用します。たとえば、\fB@todo The documentation for this method needs work\fRです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3983 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3984 |
\fBタグ名内のコロン\fR: タグ名内でコロンを使用する場合はバックスラッシュを使用してエスケープします。次のドキュメンテーション・コメントには、\fB\-tag ejb\e\e:bean:a:"EJB Bean:"\fRオプションを使用します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3985 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3986 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3987 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3988 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3989 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3990 |
\fB/**\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3991 |
\fB * @ejb:bean\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3992 |
\fB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3993 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3994 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3995 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3996 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3997 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3998 |
\fBタグ名のスペルチェック\fR: 一部の開発者が必ずしも出力しないカスタム・タグをソース・コード内に配置することがあります。この場合、ソース・コード内のすべてのタグをリストし、出力するタグを有効にし、出力しないタグを無効にする必要があります。\fBX\fRを指定するとタグは無効になります。指定しないと、タグは有効になります。これにより、\fBjavadoc\fRコマンドは、検出したタグが入力ミスなどによる不明タグであるかどうかを特定できます。このような場合に、\fBjavadoc\fRコマンドから警告が出力されます。すでに配置されている値に\fBX\fRを追加できます。こうしておけば、\fBX\fRを削除するのみでタグを有効にすることができます。たとえば、\fB@todo\fRタグを出力で抑制する場合、\fB\-tag todo:Xcmf:"To Do:"\fRを使用します。さらに簡単にする場合、\fB\-tag todo:X\fRを使用します。構文\fB\-tag todo:X\fRは、\fB@todo\fRタグがタグレットで定義されていても機能します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
3999 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4000 |
\fBタグの順序\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4001 |
\fB\-ta\fR\fBg\fRおよび\fB\-taglet\fRオプションの順序によって、タグの出力順が決まります。カスタム・タグと標準タグを組み合せて使用することもできます。標準タグのタグ・オプションは、順序を決定するためだけのプレースホルダです。標準タグの名前のみを取ります。標準タグの小見出しは変更できません。これを次の例に示します。\fB\-tag\fRオプションを指定しないと、\fB\-tagle\fR\fBt\fRオプションの位置により、順序が決まります。タグが両方とも存在する場合、コマンド行の最後にある方がその順序を決定します。これは、タグやタグレットがコマンド行に指定された順番に処理されるためです。たとえば、\fB\-taglet\fRおよび\fB\-tag\fRオプションが名前\fBtodo\fR値を持つ場合、コマンド行に最後に指定されたものが順序を決定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4002 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4003 |
\fBタグの完全セットの例\fR: この例では、出力のParametersとThrowsの間にTo Doを挿入します。\fBX\fRを使用して、\fB@example\fRタグが、ソース・コード内の今回の実行では出力されないタグであることも指定します。\fB@argfile\fRタグを使用する場合は、次のように、引数ファイル内の別々の行にタグを配置できます(行の継続を示す文字は不要)。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4004 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4005 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4006 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4007 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4008 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4009 |
\fB\-tag param\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4010 |
\fB\-tag return\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4011 |
\fB\-tag todo:a:"To Do:"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4012 |
\fB\-tag throws\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4013 |
\fB\-tag see\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4014 |
\fB\-tag example:X\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4015 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4016 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4017 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4018 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4019 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4020 |
\fBjavadoc\fRコマンドがドキュメンテーション・コメントを解析する際に検索されたタグのうち、標準タグでも、\fB\-tag\fRや\fB\-taglet\fRオプションで渡されたタグでもないものはすべて不明タグとみなされ、警告がスローされます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4021 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4022 |
標準タグは、最初、デフォルトの順序でリスト内に内部的に格納されます。\fB\-tag\fRオプションを使用すると、それらのタグはこのリストに追加されます。標準タグは、デフォルトの位置から移動されます。そのため、標準タグの\fB\-tag\fRオプションを省略すると、それはデフォルトの位置に配置されたままになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4023 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4024 |
\fB競合の回避\fR: 固有の名前空間を作成する場合、パッケージに使用されている\fBcom\&.mycompany\&.todo\fRのようなドットで区切りの命名規則を使用できます。Oracleは、今後も名前にドットを含まない標準タグを作成します。ユーザーが作成したタグは、Oracleが定義する同じ名前のタグの動作をオーバーライドします。\fB@todo\fRという名前のタグまたはタグレットをユーザーが作成した場合、その後にOracleが同じ名前の標準タグを作成しても、そのタグまたはタグレットは常にユーザーが定義したのと同じ動作を保持します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4025 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4026 |
\fB注釈vs\&. Javadocタグ\fR: 一般に、追加する必要のあるマークアップが、ドキュメントに影響を与えたりドキュメントを生成したりするためのものである場合、そのマークアップはJavadocタグにします。それ以外の場合は注釈にします。JavadocツールでのDocコメントの記述方法のカスタム・タグと注釈に関する項 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4027 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html#annotations)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4028 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4029 |
\fB\-taglet\fRオプションを使用して、より複雑なブロック・タグやカスタム・インライン・タグも作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4030 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4031 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4032 |
\-taglet \fIclass\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4033 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4034 |
そのタグのドキュメントの生成に使用するドックレットを起動するためのクラス・ファイルを指定します。\fBclass\fR値の完全修飾名を使用します。このタグレットは、カスタム・タグのテキスト引数の数も定義します。タグレットは、これらの引数を受け付け、処理し、出力を生成します。タグレットの例を使用した豊富なドキュメントについては、タグレットの概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4035 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/taglet/overview\&.html)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4036 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4037 |
タグレットは、ブロックタグまたはインライン・タグで便利です。タグレットは任意の数の引数をとることができます。また、テキストを太字にする、箇条書きを作成する、テキストをファイルに書き出す、その他のプロセスを開始するなどのカスタム動作を実装できます。タグレットで指定できるのは、タグの配置場所と配置形式のみです。その他のすべての決定は、ドックレットによって行われます。タグレットを使用しても、包含クラスのリストからクラス名を削除するなどの処理は実行できません。ただし、タグのテキストをファイルに出力したり、別のプロセスをトリガーするなどの副作用は得られます。タグレットへのパスを指定するには、\fB\-tagletpath\fRオプションを使用します。次に、生成されるページのParametersとThrowsの間にTo Doタグレットを挿入する例を示します。または、\fB\-taglet\fRオプションをその\fB\-tag\fRオプションのかわりに使用することができますが、読み取りが困難になる可能性があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4038 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4039 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4040 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4041 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4042 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4043 |
\fB\-taglet com\&.sun\&.tools\&.doclets\&.ToDoTaglet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4044 |
\fB\-tagletpath /home/taglets \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4045 |
\fB\-tag return\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4046 |
\fB\-tag param\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4047 |
\fB\-tag todo\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4048 |
\fB\-tag throws\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4049 |
\fB\-tag see\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4050 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4051 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4052 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4053 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4054 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4055 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4056 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4057 |
\-tagletpath \fItagletpathlist\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4058 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4059 |
tagletクラス・ファイルを検索するための検索パスを指定します。\fBtagletpathlist\fRには、コロン(:)で区切って複数のパスを含めることができます。\fBjavadoc\fRコマンドは、指定されたパス以下のすべてのサブディレクトリを検索します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4060 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4061 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4062 |
\-docfilesubdirs |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4063 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4064 |
doc\-filesディレクトリのディープ・コピーを有効にします。宛先には、サブディレクトリとそのすべて内容が再帰的にコピーされます。たとえば、ディレクトリoc\-files/example/imagesとその内容がすべてコピーされます。ここでも、サブディレクトリを除外する指定が可能です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4065 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4066 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4067 |
\-excludedocfilessubdir \fIname1:name2\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4068 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4069 |
指定された名前のdoc\-filesサブディレクトリをすべて除外します。これにより、SCCSとその他のソース・コード制御サブディレクトリのコピーを防ぎます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4070 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4071 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4072 |
\-noqualifier all | \fIpackagename1\fR:\fIpackagename2\&.\&.\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4073 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4074 |
出力されるクラス名から修飾パッケージ名を省略します。\fB\-noqualifier\fRオプションの引数は、\fBall\fR(すべてのパッケージ修飾子を省略)、または修飾子として削除するパッケージのコロン区切りリスト(ワイルドカードも可)、のいずれかとなります。クラスまたはインタフェース名が表示される位置からパッケージ名が削除されます。ソース・ファイルの処理を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4075 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4076 |
次の例では、すべてのパッケージ修飾子を省略します。\fB\-noqualifier all\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4077 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4078 |
次の例では、\fBjava\&.lang\fRおよび\fBjava\&.io\fRパッケージ修飾子を省略します: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4079 |
\fB\-noqualifier java\&.lang:java\&.io\fR。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4080 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4081 |
次の例では、\fBjava\fRで始まるパッケージ修飾子および\fBcom\&.sun\fRサブパッケージを省略しますが、\fBjavax\fRは省略しません。\fB\-noqualifier java\&.*:com\&.sun\&.*\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4082 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4083 |
パッケージ修飾子が前述の動作に従って表示される場合、名前は適切に短縮されます。「名前が表示される方法」を参照してください。このルールは、\fB\-noqualifier\fRオプションを使用するかどうかにかかわらず有効です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4084 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4085 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4086 |
\-notimestamp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4087 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4088 |
タイムスタンプが抑制されます。各ページの先頭近くにある、生成されたHTML内のHTMLコメントでタイムスタンプが隠されます。\fB\-notimestamp\fRオプションは、\fBjavadoc\fRコマンドを2つのソース・ベースで実行し、それらの間の差分\fBdiff\fRを取得する場合に役立ちます。タイムスタンプによる\fBdiff\fRの発生を防ぐからです(そうでないとすべてのページで\fBdiff\fRになります)。タイムスタンプには\fBjavadoc\fRコマンドのリリース番号が含まれ、現在では、\fB<!\-\- Generated by javadoc (build 1\&.5\&.0_01) on Thu Apr 02 14:04:52 IST 2009 \-\->\fRのように表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4089 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4090 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4091 |
\-nocomment |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4092 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4093 |
主説明およびすべてのタグを含むコメント本文全体を抑制し、宣言のみを生成します。このオプションにより、元は異なる目的のためだったソース・ファイルを再利用し、新しいプロジェクトの早い段階でスケルトンHTMLドキュメントを作成できるようになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4094 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4095 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4096 |
\-sourcetab \fItablength\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4097 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4098 |
ソース内で各タブが使用する空白文字の数を指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4099 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4100 |
.SH "コマンド行引数ファイル" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4101 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4102 |
\fBjavadoc\fRコマンドを短くしたり簡潔にしたりするために、\fBjavadoc\fRコマンドに対する引数(\fB\-J\fRオプションを除く)が入った1つ以上のファイルを指定することができます。このことを利用すれば、どのオペレーティング・システム上でも、任意の長さの\fBjavadoc\fRコマンドを作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4103 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4104 |
引数ファイルには、\fBjavac\fRのオプションとソース・ファイル名を自由に組み合せて記述できます。ファイル内の各引数は、スペースまたは改行で区切ります。ファイル名に埋め込まれた空白がある場合、ファイル名全体を二重引用符で囲みます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4105 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4106 |
引数ファイル内のファイル名は、引数ファイルの位置ではなく、現在のディレクトリに相対的となります。これらのリストでは、ワイルドカード(\fB*\fR)は使用できません。たとえば、*\&.javaとは指定できません。アットマーク(@)を使用して、ファイルを再帰的に解釈することはできません。また、\fB\-J\fRオプションもサポートされていません。このオプションは起動ツールに渡されますが、起動ツールでは引数ファイルをサポートしていないからです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4107 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4108 |
\fBjavadoc\fRを実行するときに、各引数ファイルのパスとファイル名の先頭に@文字を付けて渡します。\fBjavadoc\fRコマンドは、アットマーク(@)文字で始まる引数を見つけると、そのファイルの内容を展開して引数リストに挿入します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4109 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4110 |
\fB例 1 \fR単一の引数ファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4111 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4112 |
\fBargfile\fRという名前の1つの引数ファイルを使用して、すべての\fBjavadoc\fRコマンド引数を保持できます。\fBjavadoc @argfile\fR次の例に示すように、この引数ファイルには両方のファイルの内容が含まれています。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4113 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4114 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4115 |
\fB例 2 \fR2つの引数ファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4116 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4117 |
次のように、2つの引数ファイルを作成できます。\fBjavadoc\fRコマンドのオプション用に1つ、パッケージ名またはソース・ファイル名用に1つです。次のリストでは行継続文字を使用していません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4118 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4119 |
次の内容を含む、optionsという名前のファイルを作成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4120 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4121 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4122 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4123 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4124 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4125 |
\fB\-d docs\-filelist \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4126 |
\fB\-use \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4127 |
\fB\-splitindex\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4128 |
\fB\-windowtitle \*(AqJava SE 7 API Specification\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4129 |
\fB\-doctitle \*(AqJava SE 7 API Specification\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4130 |
\fB\-header \*(Aq<b>Java(TM) SE 7</b>\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4131 |
\fB\-bottom \*(AqCopyright © 1993\-2011 Oracle and/or its affiliates\&. All rights reserved\&.\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4132 |
\fB\-group "Core Packages" "java\&.*"\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4133 |
\fB\-overview /java/pubs/ws/1\&.7\&.0/src/share/classes/overview\-core\&.html\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4134 |
\fB\-sourcepath /java/pubs/ws/1\&.7\&.0/src/share/classes\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4135 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4136 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4137 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4138 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4139 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4140 |
次の内容を含む、packagesという名前のファイルを作成します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4141 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4142 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4143 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4144 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4145 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4146 |
\fBcom\&.mypackage1\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4147 |
\fBcom\&.mypackage2\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4148 |
\fBcom\&.mypackage3\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4149 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4150 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4151 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4152 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4153 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4154 |
次のように、\fBjavadoc\fRコマンドを実行します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4155 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4156 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4157 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4158 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4159 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4160 |
\fBjavadoc @options @packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4161 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4162 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4163 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4164 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4165 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4166 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4167 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4168 |
\fB例 3 \fRパスを使用した引数ファイル |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4169 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4170 |
引数ファイルはパスを指定できますが、ファイル内のすべてのファイル名は、(\fBpath1\fRや\fBpath2\fRではなく)次のように現在の作業ディレクトリに相対的となります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4171 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4172 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4173 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4174 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4175 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4176 |
\fBjavadoc @path1/options @path2/packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4177 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4178 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4179 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4180 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4181 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4182 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4183 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4184 |
\fB例 4 \fRオプション引数 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4185 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4186 |
次に、\fBjavadoc\fRコマンドのオプションに対する引数を引数ファイルに格納する例を示します。長い引数を指定できるので、\fB\-bottom\fRオプションを使用します。次のようなテキスト引数を含む、bottomという名前のファイルを作成できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4187 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4188 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4189 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4190 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4191 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4192 |
\fB<font size="\-1">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4193 |
\fB <a href="http://bugreport\&.sun\&.com/bugreport/">Submit a bug or feature</a><br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4194 |
\fB Copyright © 1993, 2011, Oracle and/or its affiliates\&. All rights reserved\&. <br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4195 |
\fB Oracle is a registered trademark of Oracle Corporation and/or its affiliates\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4196 |
\fB Other names may be trademarks of their respective owners\&.</font>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4197 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4198 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4199 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4200 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4201 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4202 |
\fBjavadoc\fRコマンドを次のように実行します。\fB javadoc \-bottom @bottom @packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4203 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4204 |
\fB\-bottom\fRオプションを引数ファイルの最初に含めて、次のように\fBjavadoc\fRコマンドを実行することもできます。\fBjavadoc @bottom @packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4205 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4206 |
.SH "JAVADOCコマンドの実行" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4207 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4208 |
\fBjavadoc\fRコマンドのリリース番号は\fBjavadoc \-J\-version\fRオプションで特定できます。出力ストリームには標準ドックレットのリリース番号が含まれます。\fB\-quiet\fRオプションで無効にできます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4209 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4210 |
Java言語で記述されたプログラムから\fBjavadoc\fRコマンドを起動するには公開プログラマティック・インタフェースを使用します。このインタフェースは\fBcom\&.sun\&.tools\&.javadoc\&.Main\fRにあります(また\fBjavadoc\fRコマンドは再入可能です)。詳細は、標準ドックレット |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4211 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/standard\-doclet\&.html#runningprogrammatically)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4212 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4213 |
次の手順では、標準HTMLドックレットを呼び出します。カスタム・ドックレットを呼び出すには、\fB\-doclet\fRおよび\fB\-docletpath\fRオプションを使用しますドックレットの概要 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4214 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/doclet/overview\&.html)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4215 |
.SS "簡単な例" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4216 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4217 |
\fBjavadoc\fRコマンドは、パッケージ全体に対して実行することも、個々のソース・ファイルに対して実行することもできます。各パッケージ名は、それぞれのパッケージ名に対応するディレクトリ名を持ちます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4218 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4219 |
次の例では、ソース・ファイルは/home/src/java/awt/*\&.javaにあります。生成先ディレクトリは/home/htmlです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4220 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4221 |
1つ以上のパッケージのドキュメント化 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4222 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4223 |
パッケージをドキュメント化するには、そのパッケージのソース・ファイルを、そのパッケージと同じ名前のディレクトリ内に格納する必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4224 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4225 |
パッケージ名が(\fBjava\&.awt\&.color\fRのようにドットで区切られた)複数の識別子から構成されている場合、後続の各識別子が下位のサブディレクトリ(ava/awt/colorなど)に対応している必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4226 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4227 |
1つのパッケージのための複数のソース・ファイルを、異なる場所にあるそのような2つのディレクトリ・ツリーに分けて格納することもできます。ただし、その場合は\fB\-sourcepath\fRによってその両方の場所を指定する必要があります。たとえば、src1/java/awt/colorとsrc2/java/awt/color。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4228 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4229 |
ディレクトリの変更(\fBcd\fRコマンドを使用)または\fB\-sourcepath\fRオプションにより、\fBjavadoc\fRコマンドを実行できます。次の例で両方の選択肢を示します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4230 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4231 |
\fB例 1 \fR1つ以上のパッケージから再帰的に実行 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4232 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4233 |
この例では\fBjavadoc\fRコマンドが任意のディレクトリから実行できるように、\fB\-sourcepath\fRを使用し、再帰的処理のために\fB\-subpackages\fR(1\&.4の新オプション)を使用します。これは、javaディレクトリのサブパッケージをたどりますが、\fBjava\&.net\fRと\fBjava\&.lang\fRをルートに持つパッケージは除外されます。\fBjava\&.lang\fRのサブパッケージである\fBjava\&.lang\&.ref\fRが除外される点に注意してください。また、他のパッケージ・ツリーを下方にたどるには、\fBjava:javax:org\&.xml\&.sax\fRのように、それらのパッケージの名前を\fB\-subpackages\fRの引数に追加します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4234 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4235 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4236 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4237 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4238 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4239 |
\fBjavadoc \-d /home/html \-sourcepath /home/src \-subpackages java \-exclude\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4240 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4241 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4242 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4243 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4244 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4245 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4246 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4247 |
\fB例 2 \fRルートへの移動および明示的なパッケージの実行 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4248 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4249 |
完全修飾されたパッケージの親ディレクトリに移動します。次に、ドキュメント化する1つ以上のパッケージの名前を指定して\fBjavadoc\fRコマンドを実行します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4250 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4251 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4252 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4253 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4254 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4255 |
\fBcd /home/src/\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4256 |
\fBjavadoc \-d /home/html java\&.awt java\&.awt\&.event\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4257 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4258 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4259 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4260 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4261 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4262 |
また、他のパッケージ・ツリーを下方にたどるには、j\fBava:javax:org\&.xml\&.sax\fRのように、それらのパッケージの名前を\fB\-subpackages\fRの引数に追加します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4263 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4264 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4265 |
\fB例 3 \fR1つのツリーの明示的なパッケージの任意のディレクトリから実行 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4266 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4267 |
この場合、現在のディレクトリがどこかは問題ではありません。\fBjavadoc\fRコマンドを実行し、最上位パッケージの親ディレクトリを指定して\fB\-sourcepath\fRオプションを使用します。ドキュメント化する1つ以上のパッケージの名前を指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4268 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4269 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4270 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4271 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4272 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4273 |
\fBjavadoc \-d /home/html \-sourcepath /home/src java\&.awt java\&.awt\&.event\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4274 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4275 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4276 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4277 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4278 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4279 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4280 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4281 |
\fB例 4 \fR複数のツリーの明示的なパッケージの任意のディレクトリから実行 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4282 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4283 |
\fBjavadoc\fRコマンドを実行し、各ツリーのルートへのパスのコロン区切りリストを指定して\fB\-sourcepath\fRオプションを使用します。ドキュメント化する1つ以上のパッケージの名前を指定します。指定したパッケージのすべてのソース・ファイルが、1つのルート・ディレクトリの下に存在する必要はありませんが、ソース・パスで指定された場所のどこかで見つかる必要があります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4284 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4285 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4286 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4287 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4288 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4289 |
\fBjavadoc \-d /home/html \-sourcepath /home/src1:/home/src2 java\&.awt java\&.awt\&.event\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4290 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4291 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4292 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4293 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4294 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4295 |
すべてのケースでj\fBava\&.awt\fRおよび\fBjava\&.awt\&.even\fRtパッケージ内の\fBpublic\fRおよび\fBprotected\fRクラスとインタフェースについて、HTML形式のドキュメントが生成され、指定された生成先ディレクトリにHTMLファイルが保存されます。2つ以上のパッケージが生成されているので、ドキュメントは、パッケージのリスト、クラスのリスト、およびメインのクラス・ページという3つのHTMLフレームを持つことになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4296 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4297 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4298 |
1つ以上のクラスのドキュメント化 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4299 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4300 |
また、1つ以上のソース・ファイルを渡して、\fBjavadoc\fRコマンドを実行することもできます。\fBjavadoc\fRは、次の2つの方法のいずれかで実行できます。1つはディレクトリを変更する方法(\fBcd\fRを使用)、もう1つはソース・ファイルへのパスを完全に指定する方法です。相対パスは、現在のディレクトリを起点とします。ソース・ファイルを渡すときは、\fB\-sourcepath\fRオプションは無視されます。アスタリスク(*)のようなコマンド行ワイルドカードを使用すると、クラスのグループを指定できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4301 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4302 |
\fB例 1 \fRソース・ディレクトリに変更 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4303 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4304 |
ソースを保持するディレクトリに変更します。次に、ドキュメント化する1つ以上のソース・ファイルの名前を指定して\fBjavadoc\fRコマンドを実行します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4305 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4306 |
この例では、\fBButton\fRクラスと\fBCanvas\fRクラス、および名前が\fBGraphics\fRで始まるクラスについて、HTML形式のドキュメントが生成されます。パッケージ名ではなくソース・ファイルが\fBjavadoc\fRコマンドに引数として渡されているので、ドキュメントは、クラスのリストとメイン・ページという2つのフレームを持つことになります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4307 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4308 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4309 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4310 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4311 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4312 |
\fBcd /home/src/java/awt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4313 |
\fBjavadoc \-d /home/html Button\&.java Canvas\&.java Graphics*\&.java\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4314 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4315 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4316 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4317 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4318 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4319 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4320 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4321 |
\fB例 2 \fRパッケージのルート・ディレクトリに変更 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4322 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4323 |
これは、同じルートからの別のサブパッケージの個々のソース・ファイルをドキュメント化するのに役立ちます。パッケージのルート・ディレクトリに移り、各ソース・ファイルを、ルートからのパスとともに指定します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4324 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4325 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4326 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4327 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4328 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4329 |
\fBcd /home/src/\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4330 |
\fBjavadoc \-d /home/html java/awt/Button\&.java java/applet/Applet\&.java\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4331 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4332 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4333 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4334 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4335 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4336 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4337 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4338 |
\fB例 3 \fR任意のディレクトリからのファイルのドキュメント化 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4339 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4340 |
この場合、現在のディレクトリがどこかは問題ではありません。ドキュメント化するソース・ファイルへの絶対パス(または現在のディレクトリからの相対パス)を指定して\fBjavadoc\fRコマンドを実行します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4341 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4342 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4343 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4344 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4345 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4346 |
\fBjavadoc \-d /home/html /home/src/java/awt/Button\&.java\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4347 |
\fB/home/src/java/awt/Graphics*\&.java\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4348 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4349 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4350 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4351 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4352 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4353 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4354 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4355 |
パッケージおよびクラスのドキュメント化 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4356 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4357 |
パッケージ全体と個々のクラスを同時に指定してドキュメント化することもできます。次に、前述の2つの例を組み合せた例を示します。\fB\-sourcepath\fRオプションは、パッケージへのパスに対しては使用できますが、個々のクラスへのパスに対しては使用できません。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4358 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4359 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4360 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4361 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4362 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4363 |
\fBjavadoc \-d /home/html \-sourcepath /home/src java\&.awt\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4364 |
\fB/home/src/java/applet/Applet\&.java\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4365 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4366 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4367 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4368 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4369 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4370 |
.SS "実際の例" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4371 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4372 |
次のコマンド行および\fBmakefile\fRバージョンの\fBjavadoc\fRコマンドをJavaプラットフォームAPIで実行します。Java SE 1\&.2で約1500個のpublicおよびprotectedクラスのドキュメントを生成するには、180MBのメモリーを使用します。どちらの例もオプションの引数で絶対パスが使用されているため、任意のディレクトリから同じ\fBjavadoc\fRコマンドを実行できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4373 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4374 |
コマンド行の例 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4375 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4376 |
次のコマンドは、一部のシェルに対して長すぎる可能性があります。この制限を回避するには、コマンド行引数ファイルを使用します。または、シェル・スクリプトを記述します。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4377 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4378 |
この例では、\fBpackages\fRは処理するパッケージを含む名前で、\fBjava\&.applet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4379 |
\fBjava\&.lang\fRなどです。各オプションの、一重引用符で囲まれた引数の内側には、改行文字を挿入できません。たとえば、この例をコピー・アンド・ペーストする場合は、\fB\-bottom\fRオプションから改行文字を削除してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4380 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4381 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4382 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4383 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4384 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4385 |
\fBjavadoc \-sourcepath /java/jdk/src/share/classes \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4386 |
\fB\-overview /java/jdk/src/share/classes/overview\&.html \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4387 |
\fB\-d /java/jdk/build/api \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4388 |
\fB\-use \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4389 |
\fB\-splitIndex \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4390 |
\fB\-windowtitle \*(AqJava Platform, Standard Edition 7 API Specification\*(Aq \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4391 |
\fB\-doctitle \*(AqJava Platform, Standard Edition 7 API Specification\*(Aq \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4392 |
\fB\-header \*(Aq<b>Java(TM) SE 7</b>\*(Aq \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4393 |
\fB\-bottom \*(Aq<font size="\-1">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4394 |
\fB<a href="http://bugreport\&.sun\&.com/bugreport/">Submit a bug or feature</a><br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4395 |
\fBCopyright © 1993, 2011, Oracle and/or its affiliates\&. All rights reserved\&.<br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4396 |
\fBOracle is a registered trademark of Oracle Corporation and/or its affiliates\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4397 |
\fBOther names may be trademarks of their respective owners\&.</font>\*(Aq \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4398 |
\fB\-group "Core Packages" "java\&.*:com\&.sun\&.java\&.*:org\&.omg\&.*" \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4399 |
\fB\-group "Extension Packages" "javax\&.*" \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4400 |
\fB\-J\-Xmx180m \e \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4401 |
\fB@packages\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4402 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4403 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4404 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4405 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4406 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4407 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4408 |
プログラマティック・インタフェース |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4409 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4410 |
Javadoc Access APIでは、新しいプロセスを実行しなくても、JavadocツールをJavaアプリケーションから直接起動できます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4411 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4412 |
たとえば、次の文はコマンド\fBjavadoc \-d /home/html \-sourcepath /home/src \-subpackages java \-exclude java\&.net:java\&.lang com\&.example\fRと同等です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4413 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4414 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4415 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4416 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4417 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4418 |
\fBimport javax\&.tools\&.DocumentationTool;\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4419 |
\fBimport javax\&.tools\&.ToolProvider;\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4420 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4421 |
\fBpublic class JavaAccessSample{\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4422 |
\fB public static void main(String[] args){\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4423 |
\fB DocumentationTool javadoc = ToolProvider\&.getSystemDocumentationTool();\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4424 |
\fB int rc = javadoc\&.run( null, null, null,\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4425 |
\fB "\-d", "/home/html",\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4426 |
\fB "\-sourcepath", "home/src",\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4427 |
\fB "\-subpackages", "java",\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4428 |
\fB "\-exclude", "java\&.net:java\&.lang",\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4429 |
\fB "com\&.example");\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4430 |
\fB }\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4431 |
\fB }\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4432 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4433 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4434 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4435 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4436 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4437 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4438 |
\fBrun\fRメソッドの最初の3つの引数は、入力、標準出力、および標準エラー・ストリームを指定します。\fBNull\fRは\fBSystem\&.in\fR、\fBSystem\&.out\fRおよび\fBSystem\&.err\fRそれぞれのデフォルト値です。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4439 |
.SS "makefileの例" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4440 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4441 |
ここでは、GNU |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4442 |
\fBmakefile\fRの例を示します。\fBmakefile\fRの引数は、一重引用符で囲みます。Windows |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4443 |
\fBmakefile\fRの例については、Javadoc FAQの\fBmakefiles\fRのセクション |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4444 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137483\&.html#makefiles)を参照してください |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4445 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4446 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4447 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4448 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4449 |
.nf |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4450 |
\fBjavadoc \-sourcepath $(SRCDIR) \e /* Sets path for source files */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4451 |
\fB \-overview $(SRCDIR)/overview\&.html \e /* Sets file for overview text */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4452 |
\fB \-d /java/jdk/build/api \e /* Sets destination directory */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4453 |
\fB \-use \e /* Adds "Use" files */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4454 |
\fB \-splitIndex \e /* Splits index A\-Z */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4455 |
\fB \-windowtitle $(WINDOWTITLE) \e /* Adds a window title */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4456 |
\fB \-doctitle $(DOCTITLE) \e /* Adds a doc title */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4457 |
\fB \-header $(HEADER) \e /* Adds running header text */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4458 |
\fB \-bottom $(BOTTOM) \e /* Adds text at bottom */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4459 |
\fB \-group $(GROUPCORE) \e /* 1st subhead on overview page */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4460 |
\fB \-group $(GROUPEXT) \e /* 2nd subhead on overview page */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4461 |
\fB \-J\-Xmx180m \e /* Sets memory to 180MB */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4462 |
\fB java\&.lang java\&.lang\&.reflect \e /* Sets packages to document */\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4463 |
\fB java\&.util java\&.io java\&.net \e\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4464 |
\fB java\&.applet\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4465 |
\fB \fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4466 |
\fBWINDOWTITLE = \*(AqJava(TM) SE 7 API Specification\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4467 |
\fBDOCTITLE = \*(AqJava(TM) Platform Standard Edition 7 API Specification\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4468 |
\fBHEADER = \*(Aq<b>Java(TM) SE 7</font>\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4469 |
\fBBOTTOM = \*(Aq<font size="\-1">\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4470 |
\fB <a href="http://bugreport\&.sun\&.com/bugreport/">Submit a bug or feature</a><br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4471 |
\fB Copyright © 1993, 2011, Oracle and/or its affiliates\&. All rights reserved\&.<br/>\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4472 |
\fB Oracle is a registered trademark of Oracle Corporation and/or its affiliates\&.\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4473 |
\fB Other names may be trademarks of their respective owners\&.</font>\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4474 |
\fBGROUPCORE = \*(Aq"Core Packages" "java\&.*:com\&.sun\&.java\&.*:org\&.omg\&.*"\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4475 |
\fBGROUPEXT = \*(Aq"Extension Packages" "javax\&.*"\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4476 |
\fBSRCDIR = \*(Aq/java/jdk/1\&.7\&.0/src/share/classes\*(Aq\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4477 |
|
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4478 |
.fi |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4479 |
.if n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4480 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4481 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4482 |
.SS "注意" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4483 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4484 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4485 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4486 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4487 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4488 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4489 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4490 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4491 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4492 |
\fB\-windowtitle\fRオプションを省略すると、\fBjavadoc\fRコマンドによってドキュメント・タイトルがウィンドウ・タイトルにコピーされます。\fB\-windowtitle\fRオプションのテキストは、\fB\-doctitle\fRオプションと同じですが、HTMLタグは含まれません。これは、HTMLタグが、ウィンドウ・タイトル内にそのままのテキストとして表示されるのを防ぐためです。 |
23600 | 4493 |
.RE |
4494 |
.sp |
|
4495 |
.RS 4 |
|
4496 |
.ie n \{\ |
|
4497 |
\h'-04'\(bu\h'+03'\c |
|
4498 |
.\} |
|
4499 |
.el \{\ |
|
4500 |
.sp -1 |
|
4501 |
.IP \(bu 2.3 |
|
4502 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4503 |
\fB\-footer\fRオプションを省略すると、\fBjavadoc\fRコマンドによってヘッダー・テキストがフッターにコピーされます。 |
23600 | 4504 |
.RE |
4505 |
.sp |
|
4506 |
.RS 4 |
|
4507 |
.ie n \{\ |
|
4508 |
\h'-04'\(bu\h'+03'\c |
|
4509 |
.\} |
|
4510 |
.el \{\ |
|
4511 |
.sp -1 |
|
4512 |
.IP \(bu 2.3 |
|
4513 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4514 |
この例では必要ありませんが、\fB\-classpath\fRと\fB\-link\fRも重要なオプションです。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4515 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4516 |
.SH "一般的なトラブルシューティング" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4517 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4518 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4519 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4520 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4521 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4522 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4523 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4524 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4525 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4526 |
\fBjavadoc\fRコマンドは有効なクラス名を含むファイルのみを読み取ります。\fBjavadoc\fRコマンドがファイルの内容を正しく読み取っていない場合は、クラス名が有効であることを確認します。ソース・ファイルの処理を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4527 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4528 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4529 |
.RS 4 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4530 |
.ie n \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4531 |
\h'-04'\(bu\h'+03'\c |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4532 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4533 |
.el \{\ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4534 |
.sp -1 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4535 |
.IP \(bu 2.3 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4536 |
.\} |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4537 |
一般的なbugおよびトラブルシューティングのヒントについては、Javadoc FAQ |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4538 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137483\&.html)を参照してください。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4539 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4540 |
.SH "エラーと警告" |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4541 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4542 |
エラーおよび警告メッセージには、ファイル名と宣言行(ドキュメンテーション・コメント内の特定の行ではない)の行番号が含まれます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4543 |
.PP |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4544 |
たとえば、メッセージ\fB「エラー: Class1\&.javaを読み込めません」\fRは、\fBjavadoc\fRコマンドが\fBClass1\&.jav\fR\fBa\fRを現在のディレクトリにロードしようとしていることを意味します。クラス名はそのパス(絶対または相対)で表示されます。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4545 |
.SH "環境" |
23600 | 4546 |
.PP |
4547 |
CLASSPATH |
|
4548 |
.RS 4 |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4549 |
\fBCLASSPATH\fRは、\fBjavadoc\fRコマンドがユーザー・クラス・ファイルの検出に使用するパスを提供する環境変数です。この環境変数は、\fB\-classpath\fRオプションによってオーバーライドされます。ディレクトリはセミコロン(Windowsの場合)またはコロン(Oracle Solarisの場合)で区切ります。 |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4550 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4551 |
\fBWindowsの例\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4552 |
\fB\&.;C:\eclasses;C:\ehome\ejava\eclasses\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4553 |
.sp |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4554 |
\fBOracle Solarisの例\fR: |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4555 |
\fB\&.:/home/classes:/usr/local/java/classes\fR |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4556 |
.RE |
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4557 |
.SH "関連項目" |
23600 | 4558 |
.sp |
4559 |
.RS 4 |
|
4560 |
.ie n \{\ |
|
4561 |
\h'-04'\(bu\h'+03'\c |
|
4562 |
.\} |
|
4563 |
.el \{\ |
|
4564 |
.sp -1 |
|
4565 |
.IP \(bu 2.3 |
|
4566 |
.\} |
|
4567 |
javac(1) |
|
4568 |
.RE |
|
4569 |
.sp |
|
4570 |
.RS 4 |
|
4571 |
.ie n \{\ |
|
4572 |
\h'-04'\(bu\h'+03'\c |
|
4573 |
.\} |
|
4574 |
.el \{\ |
|
4575 |
.sp -1 |
|
4576 |
.IP \(bu 2.3 |
|
4577 |
.\} |
|
4578 |
java(1) |
|
4579 |
.RE |
|
4580 |
.sp |
|
4581 |
.RS 4 |
|
4582 |
.ie n \{\ |
|
4583 |
\h'-04'\(bu\h'+03'\c |
|
4584 |
.\} |
|
4585 |
.el \{\ |
|
4586 |
.sp -1 |
|
4587 |
.IP \(bu 2.3 |
|
4588 |
.\} |
|
4589 |
jdb(1) |
|
4590 |
.RE |
|
4591 |
.sp |
|
4592 |
.RS 4 |
|
4593 |
.ie n \{\ |
|
4594 |
\h'-04'\(bu\h'+03'\c |
|
4595 |
.\} |
|
4596 |
.el \{\ |
|
4597 |
.sp -1 |
|
4598 |
.IP \(bu 2.3 |
|
4599 |
.\} |
|
4600 |
javah(1) |
|
4601 |
.RE |
|
4602 |
.sp |
|
4603 |
.RS 4 |
|
4604 |
.ie n \{\ |
|
4605 |
\h'-04'\(bu\h'+03'\c |
|
4606 |
.\} |
|
4607 |
.el \{\ |
|
4608 |
.sp -1 |
|
4609 |
.IP \(bu 2.3 |
|
4610 |
.\} |
|
4611 |
javap(1) |
|
4612 |
.RE |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4613 |
.SH "関連ドキュメント" |
23600 | 4614 |
.sp |
4615 |
.RS 4 |
|
4616 |
.ie n \{\ |
|
4617 |
\h'-04'\(bu\h'+03'\c |
|
4618 |
.\} |
|
4619 |
.el \{\ |
|
4620 |
.sp -1 |
|
4621 |
.IP \(bu 2.3 |
|
4622 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4623 |
Javadocテクノロジ |
23600 | 4624 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/javadoc/index\&.html) |
4625 |
.RE |
|
4626 |
.sp |
|
4627 |
.RS 4 |
|
4628 |
.ie n \{\ |
|
4629 |
\h'-04'\(bu\h'+03'\c |
|
4630 |
.\} |
|
4631 |
.el \{\ |
|
4632 |
.sp -1 |
|
4633 |
.IP \(bu 2.3 |
|
4634 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4635 |
クラスの検出方法 |
23600 | 4636 |
(http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/findingclasses\&.html) |
4637 |
.RE |
|
4638 |
.sp |
|
4639 |
.RS 4 |
|
4640 |
.ie n \{\ |
|
4641 |
\h'-04'\(bu\h'+03'\c |
|
4642 |
.\} |
|
4643 |
.el \{\ |
|
4644 |
.sp -1 |
|
4645 |
.IP \(bu 2.3 |
|
4646 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4647 |
JavadocツールでのDocコメントの記述方法 |
23600 | 4648 |
(http://www\&.oracle\&.com/technetwork/java/javase/documentation/index\-137868\&.html) |
4649 |
.RE |
|
4650 |
.sp |
|
4651 |
.RS 4 |
|
4652 |
.ie n \{\ |
|
4653 |
\h'-04'\(bu\h'+03'\c |
|
4654 |
.\} |
|
4655 |
.el \{\ |
|
4656 |
.sp -1 |
|
4657 |
.IP \(bu 2.3 |
|
4658 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4659 |
URLメモ、Uniform Resource Locators |
23600 | 4660 |
(http://www\&.ietf\&.org/rfc/rfc1738\&.txt) |
4661 |
.RE |
|
4662 |
.sp |
|
4663 |
.RS 4 |
|
4664 |
.ie n \{\ |
|
4665 |
\h'-04'\(bu\h'+03'\c |
|
4666 |
.\} |
|
4667 |
.el \{\ |
|
4668 |
.sp -1 |
|
4669 |
.IP \(bu 2.3 |
|
4670 |
.\} |
|
31876
91b22707521a
8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents:
30373
diff
changeset
|
4671 |
HTML標準、HTML Document Representation (4197265および4137321) |
23600 | 4672 |
(http://www\&.w3\&.org/TR/REC\-html40/charset\&.html#h\-5\&.2\&.2) |
4673 |
.RE |
|
4674 |
.br |
|
4675 |
'pl 8.5i |
|
4676 |
'bp |