jdk/src/linux/doc/man/ja/javadoc.1
author ohair
Tue, 25 May 2010 15:58:33 -0700
changeset 5506 202f599c92aa
parent 2692 345bc8d65b19
child 5865 47da38a8c0f0
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     1
." Copyright 2002-2006 Sun Microsystems, Inc.  All Rights Reserved.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     2
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     3
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     4
." This code is free software; you can redistribute it and/or modify it
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     5
." under the terms of the GNU General Public License version 2 only, as
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     6
." published by the Free Software Foundation.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     7
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     8
." This code is distributed in the hope that it will be useful, but WITHOUT
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     9
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    10
." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    11
." version 2 for more details (a copy is included in the LICENSE file that
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    12
." accompanied this code).
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    13
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    14
." You should have received a copy of the GNU General Public License version
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    15
." 2 along with this work; if not, write to the Free Software Foundation,
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    16
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    17
."
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    18
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    19
." or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    20
." questions.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    21
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    22
.TH javadoc 1 "04 May 2009"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    23
." Generated from HTML by html2man (author: Eric Armstrong)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    24
.SH "名前"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    25
javadoc \- Java API ドキュメントジェネレータ
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    30
Java ソースファイルから、API ドキュメントの HTML ページを生成します。このドキュメントで紹介されている Javadoc の例は、Sun Solaris を使用した場合のものです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    31
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    32
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    33
.SH "形式"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    34
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    35
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    36
\f4javadoc\fP\f2\ [\ \fP\f2options\fP\f2\ ]\ [\ packagenames\ ]\ [\ sourcefilenames\ ]\ [\ \-subpackages\fP\ \f2pkg1:pkg2:...\fP\f2\ ]\ [\ \fP\f2@argfiles\fP\f2\ ]\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    37
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    38
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    39
引数を指定する順序は任意です。Javadoc ツールでの、処理対象の \f2.java\fP ファイルを決定する方法の詳細については、「ソースファイルの処理」を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    40
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    41
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    42
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    43
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    44
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    45
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    46
options 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    47
このドキュメントで説明されているコマンド行オプションです。Javadoc オプションの標準的な使用法については、「使用例」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    48
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    49
packagenames 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    50
スペースで区切られた一連のパッケージ名です。 たとえば、\f2java.lang\ java.lang.reflect\ java.awt\fP のように指定します。ドキュメント化するパッケージを個別に指定する必要があります。ワイルドカードは使用不可です。 再帰的処理のためには、\-subpackages を使用します。Javadoc ツールは、\f2\-sourcepath\fP を使ってこれらのパッケージ名を検索します。「1 つ以上のパッケージのドキュメント化」の例を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    51
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    52
sourcefilenames 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    53
スペースで区切られた一連のソースファイル名です。各ファイルは、パスで始まります。アスタリスク (*) などのワイルドカードを含めることができます。 Javadoc ツールが処理するのは、ファイル名が「.java」という拡張子で終わり、その拡張子を除いた名前が実際に有効なクラス名であるすべてのファイルです (
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    54
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    55
\f2「Identifiers」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    57
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625を参照)。したがって、ハイフンを含む名前 (\f2X\-Buffer\fP など) や、その他の無効な文字を含む名前を付けることによって、それらのファイルをドキュメント化の対象から除外できます。これは、テスト用のファイルや、テンプレートから生成されたファイルの場合に便利です。 ソースファイル名の前に指定したパスによって、javadoc がそのファイルを検索する場所が決まります。Javadoc ツールは、これらのソースファイル名を検索するときに \f2\-sourcepath\fP は使いません。相対パスは、現在のディレクトリからの相対パスです。 \f2Button.java\fP を渡すことは、\f2./Button.java\fP を渡すことと同じです。ソースファイル名をフルパスで指定すると、\f2/home/src/java/awt/Graphics*.java\fP のようになります。「1 つ以上のクラスのドキュメント化」の例を参照してください。また、「パッケージとクラスのドキュメント化」の例のように、パッケージ名とソースファイル名を混在させることもできます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    58
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    59
\-subpackages pkg1:pkg2:... 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    60
ソースファイルから指定されたパッケージおよびそのサブパッケージ内に再帰的にドキュメントを生成します。パッケージ名またはソースファイル名を指定する必要はありません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    61
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    62
@argfiles 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    63
Javadoc オプション、パッケージ名、およびソースファイル名を任意の順序で並べたリストが含まれる 1 つ以上のファイルです。このファイルの中では、ワイルドカード (*) および \f2\-J\fP オプションは指定できません。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    64
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    65
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    66
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    67
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    68
.SH " 説明"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    69
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    70
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    71
\f3Javadoc\fP ツールは、一連の Java ソースファイルにある宣言およびドキュメンテーションコメントを解析し、デフォルトでは public クラス、protected クラス、入れ子にされたクラス (匿名の内部クラスは除く)、インタフェース、コンストラクタ、メソッド、およびフィールドについて説明した一連の HTML ページを生成します。また、API (アプリケーションプログラミングインタフェース) ドキュメントの生成や、一連のソースファイルの実装ドキュメントの生成に使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    72
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    73
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    74
Javadoc ツールは、パッケージ全体、個々のソースファイル、またはその両方に対して実行できます。javadoc ツールをパッケージ全体に対して実行する場合は、最上位ディレクトリから再帰的にたどるために \f2\-subpackages\fP を使用するか、パッケージ名の明示的なリストを渡します。個々ソースファイルに対して javadoc を実行する場合は、一連のソース (\f2.java\fP) ファイル名を渡します。具体的な例は、このドキュメントの最後に紹介します。次に、Javadoc によるソースファイルの処理について説明します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    77
ソースファイルの処理
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    78
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    79
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    80
Javadoc ツールは、末尾に \f2.java\fP の付いたファイル以外に、ソースファイルで説明する他のファイルも処理します。個々のソースファイル名を明示的に渡すことによって Javadoc ツールを実行する場合、どの \f2.java\fP ファイルを処理するかを正確に指定できます。ただし、多くの開発者はこの方法では作業しません。 パッケージ名を渡すほうが簡単だからです。ソースファイル名を明示的に指定しなくても、Javadoc ツールは 3 つの方法で実行できます。この方法は、(1) パッケージ名を渡す、(2) \f2\-subpackages\fP を使用する、(3) ソースファイル名にワイルドカードを使用する (\f2*.java\fP) という方法です。これらの方法を使用する場合、Javadoc ツールは、\f2.java\fP ファイルが次のすべての要件を満たしている場合にかぎり、このファイルを処理します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    81
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    82
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    83
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    84
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    85
名前から \f2.java\fP の接尾辞を取り除くと、実際に有効なクラス名になっている (有効な文字については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    86
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    87
\f2「Identifiers」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    88
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    89
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625を参照) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    90
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    91
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    92
ソースツリーのルートから相対的なディレクトリパスが、区切り文字をドットに変換すると、実際に有効なパッケージ名になっている 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    93
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    94
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    95
パッケージ文には有効なパッケージ名が含まれる (前項目で指定) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    96
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    97
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    98
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    99
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   100
\f3リンクの処理\fP \- Javadoc ツールは、処理の実行中に、その実行でドキュメント化されるパッケージ、クラス、およびメンバーの名前に対して、自動的に相互参照リンクを追加します。このようなリンクは、次のような場所に追加されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   105
宣言 (戻り値の型、引数の型、フィールドの型) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   106
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   107
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   108
\f2@see\fP タグから生成された [関連項目] セクション 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   109
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   110
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   111
\f2{@link}\fP タグから生成されたインラインテキスト 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   112
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   113
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   114
\f2@throws\fP タグから生成された例外の名前 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   115
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   116
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   117
"インタフェースのメンバーに対する [定義] リンクと、クラスのメンバーに対する [オーバーライド] リンク 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   118
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   119
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   120
パッケージ、クラス、およびメンバーを列挙している概要テーブル 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   121
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   122
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   123
パッケージおよびクラスの継承ツリー 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   126
索引 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   127
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   128
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   129
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   130
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   131
コマンド行で指定しなかったクラスについての既存のテキスト (別に生成したテキスト) に対してハイパーリンクを追加するには、\f2\-link\fP および \f2\-linkoffline\fP オプションを利用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   132
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   133
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   134
\f3その他の処理についての詳細\fP \- Javadoc ツールは、実行するたびに 1 つの完全なドキュメントを作成します。 ドキュメントを追加生成することはできません。 つまり、Javadoc ツールの以前の実行結果を修正したり、その内容を直接組み入れたりすることはできません。ただし、前述のように、以前の実行結果に対してリンクを追加することはできます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   135
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   136
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   137
実装上の理由から、Javadoc ツールは、処理を実行するために java コンパイラを必要とし、java コンパイラに依存しています。Javadoc ツールは \f2javac\fP の一部を呼び出すことにより、宣言をコンパイルし、メンバーの実装は無視します。Javadoc ツールは、クラス階層を含むクラスの豊富な内部表現とクラスの「使用」関係を構築し、その情報から HTML を生成します。さらに、Javadoc ツールは、ソースコードのドキュメンテーションコメントから、ユーザーの提供したドキュメントも取得します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   138
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   139
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   140
Javadoc ツールは、メソッド本体のない純粋なスタブファイルである \f2.java\fP ソースファイルに対しても、実行することができます。したがって、API の作成時には、実装を記述する前の設計の早い段階で、ドキュメンテーションコメントを記述して javadoc ツールを実行できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   141
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   142
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   143
コンパイラに依存することによって、HTML 出力は、実際の実装に正確に対応します。 実際の実装は、明示的なソースコードにではなく、暗黙のソースコードに依存する場合があります。たとえば、Javadoc ツールは、\f2.class\fP ファイル内に存在するが、ソースコード内には存在しない
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   144
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   145
\f2デフォルトコンストラクタ\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   146
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   147
http://java.sun.com/docs/books/jls/second_edition/html/names.doc.html#36154 (Java 言語仕様のセクション 8.6.7) をドキュメント化します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   148
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   149
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   150
通常、Javadoc ツールでは、ソースファイルのコードが不完全またはエラーを含んでいる場合でもドキュメントを生成できます。このため、デバッグやトラブルシューティングを完了する前にドキュメントを生成できます。たとえば、Java 言語仕様によると、抽象メソッドを含むクラスは、それ自体抽象として宣言されなければなりません。このエラーを検出すると、javac コンパイラは停止しますが、Javadoc ツールは警告を出さずに処理を続行します。Javadoc ツールはドキュメンテーションコメントの基本的なチェックを行います。ドキュメンテーションコメントをより詳しくチェックする必要がある場合は、DocCheck ドックレットを使用してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   151
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   152
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   153
Javadoc ツールは、ドキュメントの内部構造を構築する際、参照クラスをすべてロードします。このため、Javadoc ツールは、ブートストラップクラス、拡張機能、またはユーザークラスにかかわらず、すべての参照クラスを検索できなければなりません。詳細は、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   154
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   155
\f2「クラスの検索方法」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   156
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   157
http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.htmlを参照してください。通常、作成するクラスは、拡張機能としてロードするか、Javadoc ツールのクラスパス内に置く必要があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   158
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   159
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   160
Javadoc のドックレット
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   161
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   162
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   163
Javadoc ツールの出力の内容と形式は、ドックレットを使ってカスタマイズできます。Javadoc ツールには、標準ドックレットと呼ばれるデフォルトの「組み込み」ドックレットがあります。 標準ドックレットは、HTML 形式の API ドキュメントを生成します。標準ドックレットを修正またはサブクラス化することや、HTML、XML、MIF、RTF などの好みの出力形式を生成する独自のドックレットを記述することも可能です。ドックレットとその使用法については、次の項目を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   164
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   165
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   166
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   167
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   168
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   169
\f2Javadoc のドックレット\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   170
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   171
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/index.html 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   172
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   173
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   174
\f2\-doclet\fP コマンド行オプション 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   175
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   176
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   177
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   178
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   179
\f2\-doclet\fP コマンド行オプションでカスタムドックレットが指定されていない場合、Javadoc ツールは、デフォルトの標準ドックレットを使用します。javadoc ツールには、使用されているドックレットに関係なく使用できるコマンド行オプションがあります。標準ドックレットでは、これらのほかに、いくつかのコマンド行オプションが追加されます。どちらのオプションについても、このあとの「オプション」で説明します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   180
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   181
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   182
関連ドキュメントおよびドックレット
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   183
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   184
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   185
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   186
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   187
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   188
\f2Javadoc に施された機能強化\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   189
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   190
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/index.html \- Javadoc で追加された改良点の詳細 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   193
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   194
\f2Javadoc FAQ\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   195
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   196
http://java.sun.com/j2se/javadoc/faq/index.html \- 頻繁に寄せられる質問に対する回答、Javadoc 関連のツールについての情報、およびバグの回避方法 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   198
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   199
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   200
\f2How to Write Doc Comments for Javadoc\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   201
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   202
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html \- ドキュメンテーションコメントの記述方法に関する Sun の規約 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   204
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   205
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   206
\f2Requirements for Writing API Specifications\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   207
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   208
http://java.sun.com/j2se/javadoc/writingapispecs/index.html \- Java 2 プラットフォーム仕様を記述する際に使用された標準要件。この情報は、ソースファイルのドキュメンテーションコメント形式で API 仕様を記述する場合にも、その他の形式で記述する場合にも役立ちます。検証可能なアサーションを満たすパッケージ、クラス、インタフェース、フィールド、およびメソッドについての要件を定めています。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   210
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   211
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   212
\f2ドキュメンテーションコメントの仕様\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   213
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   214
http://java.sun.com/docs/books/jls/first_edition/html/18.doc.html \- ドキュメンテーションコメントのオリジナル仕様については、『Java Language Specification』 (James Gosling、Bill Joy、Guy Steele 共著) の初版の第 18 章「Documentation Comments」を参照してください。この章は、第 2 版では削除されました。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   215
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   216
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   217
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   218
\f2DocCheck ドックレット\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   219
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   220
http://java.sun.com/javadoc/doccheck \- ソースファイル内のドキュメンテーションコメントをチェックし、検出されたエラーや不正のレポートを生成します。Sun Doc Check ユーティリティーの一部です。Sun Doc Check ユーティリティーの一部です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   222
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   223
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   224
\f2MIF ドックレット\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   225
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   226
http://java.sun.com/javadoc/mifdoclet \- MIF、FrameMaker、PDF の書式で API ドキュメントを自動生成します。MIF は Adobe FrameMaker の交換書式です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   227
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   228
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   229
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   230
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   231
用語
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   232
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   233
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   234
\f2「ドキュメンテーションコメント」\fP、\f2「doc コメント」\fP、\f2「主説明」\fP、\f2「タグ」\fP、\f2「ブロックタグ」\fP、および\f2「インラインタグ」\fPの用語については、「ドキュメンテーションコメント」で説明します。次のその他の用語は、Javadoc ツールのコンテキストで特定の意味を持ちます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   235
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   238
生成ドキュメント (generated document) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   239
javadoc ツールが Java ソースコード内のドキュメンテーションコメントから生成したドキュメントのことです。デフォルトの生成ドキュメントは HTML 形式で、標準ドックレットによって作成されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   242
名前 (name) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   243
Java 言語で書かれたプログラム要素の名前、つまりパッケージ、クラス、インタフェース、フィールド、コンストラクタ、またはメソッドの名前のことです。名前は、\f2java.lang.String.equals(java.lang.Object)\fP のように完全修飾することも、\f2equals(Object)\fP のように部分修飾することもできます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   246
ドキュメント化されるクラス (documented classes) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   247
javadoc ツールの実行によって詳細なドキュメントが生成されるクラスおよびインタフェースのことです。ドキュメント化するには、ソースファイルが使用可能でなければならず、ソースファイル名またはパッケージ名を javadoc コマンドに渡され、アクセス修飾子 (public、protected、package\-private または private) によってフィルタ処理されないようにしなければなりません。ドキュメント化されるクラスは、javadoc ツールの出力に組み込まれるクラス、つまり「包含クラス」とも呼ばれます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   250
包含クラス (included classes) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   251
ツールの実行によって詳細なドキュメントが生成されるクラスおよびインタフェースのことです。「ドキュメント化されるクラス」 と同じ。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   254
除外クラス (excluded classes) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   255
ツールの実行によって詳細なドキュメントが生成されないクラスおよびインタフェースのことです。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   258
参照クラス (referenced classes) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   259
ドキュメント化されるクラスおよびインタフェースの定義 (実装) またはドキュメンテーションコメントの中で明示的に参照されているクラスおよびインタフェースのことです。参照の例としては、戻り値の型、パラメータの型、キャストの型、拡張されたクラス、実装されたインタフェース、インポートされたクラス、メソッド本体で使用されるクラス、@see、{@link}、{@linkplain}、{@inheritDoc} タグなどがあります。この定義は 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   260
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   261
\f21.3\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   263
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javadoc.html#referencedclasses から変更されています。javadoc ツールを実行するときは、Javadoc のブートクラスパスおよびクラスパス内にあるすべての参照クラスをメモリーにロードする必要があります。参照クラスが見つからない場合は、「クラスが見つかりません」という警告が表示されます。Javadoc ツールは、クラスの存在とそのメンバーの完全指定の名前を判別するのに必要なすべての情報を、.class ファイルから引き出すことができます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   266
外部参照クラス (external referenced classes) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   267
参照クラスのうち、javadoc ツールの実行中にドキュメントが生成されないクラスのことです。つまり、これらのクラスは、コマンド行で Javadoc ツールに渡されていません。生成ドキュメント内でこれらのクラスにリンクしている箇所は、「外部参照」または「外部リンク」と呼ばれます。たとえば、\f2java.awt\fP パッケージに対してだけ Javadoc ツールを実行した場合、\f2Object\fP などの \f2java.lang\fP 内のすべてのクラスが外部参照クラスになります。外部参照クラスにリンクするには、\f2\-link\fP および \f2\-linkoffline\fP オプションを使用します。外部参照クラスには、通常そのソースコメントを javadoc ツールの実行で利用できないという重要な特徴があります。この場合、それらのコメントを継承することはできません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   268
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   269
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   270
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   271
.SH "ソースファイル"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   272
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   273
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   274
Javadoc ツールは、4 種類の異なるソースファイルから出力結果を生成します。そのファイルは、クラスの Java 言語ソースファイル (\f2.java\fP)、パッケージコメントファイル、概要コメントファイル、およびその他の処理されないファイルです。また、ドキュメント化しないがソースツリーに存在する場合があるテストファイルやテンプレートファイルについても説明します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   275
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   276
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   277
クラスソースコードファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   278
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   279
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   280
それぞれのクラスまたはインタフェース、およびそのメンバーは、独自のドキュメンテーションコメントを持つことができ、それを \f2.java\fP ファイル内に保持します。ドキュメンテーションコメントの詳細は、「ドキュメンテーションコメント」を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   281
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   282
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   283
パッケージコメントファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   284
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   285
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   286
それぞれのパッケージは、独自のドキュメンテーションコメントを持つことができ、それを専用の「ソース」ファイルに保持します。 その内容は、Javadoc ツールによって生成される概要ページに組み込まれます。このコメントには、通常、そのパッケージ全体に当てはまるドキュメントを記述します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   287
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   288
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   289
パッケージコメントファイルを作成する場合、コメントの格納先として、次の 2 つのファイルのいずれかを選択できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   294
\f2package\-info.java\fP \- パッケージ宣言、パッケージ注釈、パッケージコメント、および Javadoc タグを格納できます。このファイルは JDK 5.0 で導入されたものであり、package.html よりも推奨されています。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   297
\f2package.html\fP \- 格納できるのはパッケージコメントと Javadoc タグだけです。 パッケージ注釈は格納できません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   302
各パッケージは、単一の \f2package.html\fP ファイル、単一の \f2package\-info.java\fP ファイルのいずれかを持つことができますが、両方を持つことはできません。このどちらかのファイルを \f2.java\fP ファイルとともに、ソースツリー内のそのパッケージのディレクトリ内に配置してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   303
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   304
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   305
\f4package\-info.java\fP \- このファイルには、次の構造のパッケージコメントを格納できます。 コメントはパッケージ宣言の前に配置します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   306
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   307
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   308
File:\f2java/applet/package\-info.java\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   309
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   310
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   311
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   312
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   313
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   314
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   315
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   316
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   317
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   318
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   319
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   320
..
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   322
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   323
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   324
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   325
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   326
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   327
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   328
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   329
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   330
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   331
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   332
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   333
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   334
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   335
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   336
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   337
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   338
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   339
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   340
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   341
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
/**
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   343
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   344
 * Provides the classes necessary to create an
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   345
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
 * applet and the classes an applet uses 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   347
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
 * to communicate with its applet context.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   349
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
 * <p>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   351
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
 * The applet framework involves two entities:
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   353
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
 * the applet and the applet context.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   355
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
 * An applet is an embeddable window (see the
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   357
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
 * {@link java.awt.Panel} class) with a few extra
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   359
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
 * methods that the applet context can use to 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   361
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
 * initialize, start, and stop the applet.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   363
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
 *
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   365
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
 * @since 1.0
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   367
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
 * @see java.awt
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   369
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
 */
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   371
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
package java.lang.applet;
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   373
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   374
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   376
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   377
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   378
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   379
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   380
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   381
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   382
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   383
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   384
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   385
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   386
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   387
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   388
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   389
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   390
.35
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   392
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   393
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   394
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   395
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   396
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   397
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   398
.if t .if \n(TW>\n(.li .tm Table at line 353 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   399
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   400
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   401
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   402
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   403
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   404
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   405
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   406
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   407
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   408
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   409
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   410
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   411
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   412
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   413
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   414
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   415
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   416
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   417
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   418
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   419
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   420
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   421
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   422
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   423
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   424
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   425
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   426
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   427
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   428
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   429
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   430
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   431
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   432
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   433
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   434
.if \n-(b.=0 .nr c. \n(.c-\n(d.-42
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   435
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   436
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   437
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   438
コメント区切り文字の \f2/**\fP と \f2/*\fP は記述する必要がありますが、中間行の行頭のアスタリスクは省略してもかまいません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   439
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   440
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   441
\f4package.html\fP \- このファイルには、次の構造のパッケージコメントを格納できます。 コメントは \f2<body>\fP 要素内に配置します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   442
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   443
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   444
File:\f2java/applet/package.html\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   445
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   446
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   447
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   448
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   449
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   450
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   451
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   452
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   453
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   454
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   455
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   456
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   457
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   458
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   459
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   460
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   461
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   462
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   463
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   464
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   465
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   466
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   467
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   468
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   469
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   470
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   471
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   472
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   473
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   474
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   475
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   476
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   477
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
<HTML>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   479
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
<BODY>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   481
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   482
Provides the classes necessary to create an applet and the
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   483
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
classes an applet uses to communicate with its applet context.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   485
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
<p>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   487
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
The applet framework involves two entities: the applet
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   489
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
and the applet context. An applet is an embeddable
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   491
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
window (see the {@link java.awt.Panel} class) with a
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   493
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
few extra methods that the applet context can use to
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   495
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
initialize, start, and stop the applet. 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   497
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   498
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   499
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
@since 1.0 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   501
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
@see java.awt
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   503
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
</BODY>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   505
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
</HTML>
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   507
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   508
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   510
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   511
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   512
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   513
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   514
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   515
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   516
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   517
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   518
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   519
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   520
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   521
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   522
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   523
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   524
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   525
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   526
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   527
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   528
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   529
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   530
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   531
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   532
.if t .if \n(TW>\n(.li .tm Table at line 406 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   533
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   534
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   535
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   536
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   537
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   538
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   539
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   540
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   541
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   542
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   543
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   544
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   545
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   546
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   547
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   548
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   549
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   550
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   551
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   552
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   553
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   554
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   555
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   556
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   557
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   558
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   559
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   560
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   561
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   562
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   563
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   564
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   565
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   566
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   567
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   568
.if \n-(b.=0 .nr c. \n(.c-\n(d.-40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   569
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   570
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   571
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   572
これは単なる通常の HTML ファイルであり、パッケージ宣言を含んでいない点に注意してください。パッケージコメントファイルの内容は、ほかのすべてのコメントと同様に HTML で記述されています。それは、このドキュメンテーションコメントには、コメント区切り文字である \f2/**\fP と \f2*/\fP、および行頭のアスタリスクを含めてはならない、ということです。コメントを書く場合は、最初の文をパッケージの概要とし、\f2<body>\fP と最初の文の間にタイトルやその他のテキストを含めないようにします。パッケージタグを含めることはできますが、ほかのドキュメンテーションコメントと同様、すべてのブロックタグは、主説明のあとに置かなければなりません。パッケージコメントファイルに \f2@see\fP タグを追加する場合は、完全指定の名前を使用する必要があります。詳細は、 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   573
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   574
\f2package.html\fP の例 @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   576
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#packagecommentsを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   577
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   578
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   579
\f3パッケージコメントファイルの処理\fP \- Javadoc ツールは、実行時にパッケージコメントファイルを自動的に検索し、このファイルを見つけると次の処理を行います。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   584
処理できるようにコメントをコピーする (\f2package.html\fP の場合であれば、\f2<body>\fP と \f2</body>\fP HTML タグの間にある内容をすべてコピーする。\f2<head>\fP を含め、そこに \f2<title>\fP やソースファイルの著作権記述などの情報を配置することもできるが、生成後のドキュメンテーションにはそれらは一切表示されない) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   585
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   586
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   587
パッケージタグがあれば、すべて処理する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   588
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   589
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   590
生成したパッケージの概要ページの最後に、処理したテキストを挿入する (例: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   591
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   592
\f2パッケージの概要\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   593
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   594
http://java.sun.com/javase/6/docs/api/java/applet/package\-summary.html) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   597
パッケージの概要ページの先頭に、パッケージコメントの最初の文をコピーする。さらに、概要ページのパッケージリストに、パッケージ名とパッケージコメントの最初の文を追加する (例: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   598
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   599
\f2概要の要約\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   600
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   601
http://java.sun.com/javase/6/docs/api/overview\-summary.html)。文の末尾は、クラスやメンバーの主説明の最初の文の末尾と同じ規則によって判断される 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   602
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   603
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   604
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   605
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   606
概要コメントファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   607
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   608
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   609
ドキュメント化する各アプリケーションまたはパッケージセットは、独自の概要ドキュメンテーションコメントを持つことができ、それは専用の「ソース」ファイルに保持されます。 その内容は、Javadoc ツールによって生成される概要ページに組み込まれます。このコメントには、通常、アプリケーションまたはパッケージセット全体に当てはまるドキュメントを記述します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   610
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   611
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   612
概要コメントファイルを作成する場合は、ファイルに任意の名前を付け、任意の場所に置くことができます。ただし、通常は、ファイル名を \f4overview.html\fP にして、ソースツリーの最上位レベルに置きます。たとえば、\f2java.applet\fP パッケージのソースファイルが \f2/home/user/src/java/applet\fP ディレクトリに含まれている場合は、\f2/home/user/src/overview.html\fP に概要コメントファイルを作成できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   613
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   614
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   615
異なるパッケージのセットに対して javadoc を複数回実行する場合は、同じ 1 つのソースファイルのセットに対して複数の概要コメントファイルを作成できます。たとえば、内部ドキュメンテーション用に \-private を指定して javadoc を 1 回実行したあと、公開ドキュメンテーション用にそのオプションを指定しないで再度実行することができます。この場合、各概要コメントファイルの 1 文目で、そのドキュメンテーションを公開用または内部用として記述できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   616
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   617
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   618
概要コメントファイルの内容は、前述のパッケージコメントファイルと同様、HTML で記述された 1 つの大きなドキュメンテーションコメントです。詳細は、前述の説明を参照してください。要点を繰り返すと、このコメントを記述する場合は、最初の文をアプリケーションまたはパッケージセットの要約とし、\f2<body>\fP と最初の文の間にタイトルその他のテキストを含めないようにします。概要タグを含めることができます。 どのドキュメンテーションコメントについても、インラインタグ (\f2{@link}\fP など) 以外のすべてのタグは、主説明のあとに置く必要があります。\f2@see\fP タグを追加する場合は、完全指定の名前を使用しなければなりません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   619
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   620
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   621
Javadoc ツールの実行時に、\-overview オプションを使って概要コメントファイル名を指定します。このファイルは、パッケージコメントファイルと同じように処理されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   622
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   623
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   626
\f2<body>\fP タグと \f2</body>\fP タグの間にあるすべての内容を処理のためにコピーする 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   627
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   628
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   629
概要タグがあればすべて処理する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   630
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   631
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   632
生成した概要ページの最後に、処理したテキストを挿入する (例: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   633
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   634
\f2概要の要約\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   635
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   636
http://java.sun.com/javase/6/docs/api/overview\-summary.html) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   639
概要ページの先頭に、概要コメントの最初の文をコピーする 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   643
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   644
その他の未処理のファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   645
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   646
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   647
ソースには、Javadoc ツールによって生成先のディレクトリにコピーされる、その他の任意のファイルを含めることができます。一般に、このようなファイルには、グラフィックファイル、サンプルの Java ソース (.java) およびクラス (.class) ファイル、内容が通常の Java ソースファイルのドキュメンテーションコメントの影響を受けない独立した HTML ファイルなどがあります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   648
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   649
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   650
未処理のファイルをソースに含めるには、それらのファイルを \f4doc\-files\fP というディレクトリに置きます。 このディレクトリは、ソースファイルがある任意のパッケージディレクトリの下に作成できます。このようなサブディレクトリは、パッケージごとに 1 つ用意できます。イメージ、サンプルコード、ソースファイル、.class ファイル、アプレット、および HTML ファイルをこのディレクトリに格納できます。たとえば、ボタンのイメージ \f2button.gif\fP を \f2java.awt.Button\fP クラスのドキュメントに含める場合は、そのファイルを \f2/home/user/src/java/awt/doc\-files/\fP ディレクトリに置きます。\f2doc\-files\fP ディレクトリを \f2/home/user/src/java/doc\-files\fP に置くことはできません。 これは、\f2java\fP はパッケージではなく、そのディレクトリそのものにソースファイルが入っていないからです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   651
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   652
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   653
これらの未処理のファイルへのリンクは、すべて明示的に記述する必要があります。 これは、Javadoc ツールがそれらのファイルを見ずに、単にディレクトリとその内容を生成先にコピーするだけだからです。たとえば、\f2Button.java\fP のドキュメンテーションコメント内のリンクは、次のようになります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   654
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   655
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   656
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   657
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   658
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   659
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   660
     * This button looks like this: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   661
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   662
     * <img src="doc\-files/Button.gif">
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   663
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   664
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   665
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   666
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   667
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   668
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   669
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   670
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   671
テストファイルおよびテンプレートファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   672
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   673
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   674
一部の開発者から、テストファイルおよびテンプレートファイルを対応するソースファイルの近くのソースツリーに保存したいという要望がありました。つまり、これらのソースファイルと同じディレクトリまたはサブディレクトリに保存したいということです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   675
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   676
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   677
個別のソースファイル名で明示的に渡して Javadoc ツールを実行する場合は、テストファイルおよびテンプレートファイルを意図的に除外して、処理されないようにすることができます。ただし、パッケージ名またはワイルドカードで渡す場合は、以下のルールに従って、これらのテストファイルおよびテンプレートファイルが処理されないようにする必要があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   678
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   679
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   680
テストファイルとテンプレートファイルの違いは、テストファイルは、正当でコンパイル可能なソースファイルであるのに対して、テンプレートファイルは、そうではないという点です。 ただし、テンプレートファイルも「.java」で終わることができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   681
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   682
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   683
\f3テストファイル\fP \- 開発者の多くは、あるパッケージのコンパイル可能で実行可能なテストファイルをそのパッケージのソースファイルと同じディレクトリに配置したいと考えています。しかしテストファイルは、名前なしパッケージなど、ソースファイルパッケージとは別のパッケージに属させたいとも考えています (そのため、テストファイルには package ステートメントがないか、またはソースとは別の package ステートメントがある)。このような状況では、コマンド行で指定されているソースのパッケージ名を指定してそのソースがドキュメント化されているときに、テストファイルは警告またはエラーを引き起こします。そのようなテストファイルはサブディレクトリに配置する必要があります。\f2com.package1\fP に追加する場合は、それらのテストファイルを、ハイフンが含まれるためパッケージ名としては無効になるサブディレクトリに配置します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   684
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   685
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   686
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   687
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   688
    com/package1/test\-files/
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   689
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   690
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   691
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   693
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   694
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   695
こうすると、Javadoc ツールでは警告なしで test ディレクトリをスキップします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   696
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   697
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   698
テストファイルに doc コメントが含まれる場合、次のようにワイルドカードを含んだテストソースファイル名で渡してテストファイルのドキュメントを生成するように、Javadoc ツールを別個に実行できるように設定できます。 たとえば、\f2com/package1/test\-files/*.java\fP などです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   699
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   700
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   701
\f3ソースファイルのテンプレート\fP \- テンプレートファイルの名前は「.java」で終わることもありますが、テンプレートファイルはコンパイルできません。ソースディレクトリに保持したいソースファイルのテンプレートがある場合は、このファイル名にハイフン (\f2Buffer\-Template.java\fP など) やその他の不正な Java 文字を使用します。 こうすることで、処理されないようになります。これは、Javadoc ツールが処理するのは、「.java」接尾辞を除いた名前が 正規のクラス名であるソースファイルだけであるためです (
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   702
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   703
\f2「識別子」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   704
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   705
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#40625参照)。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   706
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   707
.SH "生成されるファイル"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   708
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   709
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   710
デフォルトでは、javadoc ツールは、HTML 形式のドキュメントを生成する標準ドックレットを使います。このドックレットは、以下の種類のファイルを生成します。 それぞれの HTML ページは、個々のファイルに相当します。javadoc が生成するファイルの名前には、クラスやインタフェースの名前にちなんだものと、そうでないもの (\f2package\-summary.html\fP など) の 2 種類があります。後者のグループのファイル名には、前者のグループとファイル名が競合しないように、ハイフンが含まれています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   711
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   712
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   713
\f3基本内容ページ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   714
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   715
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   716
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   717
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   718
ドキュメント化するクラスまたはインタフェースごとに 1 つの\f3クラスページまたはインタフェースページ\fP (\f2クラス名\fP\f2.html\fP)  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   719
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   720
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   721
ドキュメント化するパッケージごとに 1 つの\f3パッケージページ\fP (\f2package\-summary.html\fP)。Javadoc ツールは、ソースツリーのパッケージディレクトリ内に \f2package.html\fP または \f2package\-info.java\fP というファイルがあれば、その中の HTML テキストをこのページに組み入れます。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   722
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   723
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   724
パッケージセット全体に対して 1 つの\f3概要ページ\fP (\f2overview\-summary.html\fP)。これは、生成ドキュメントの先頭ページになります。Javadoc ツールは、\f2\-overview\fP オプションで指定されたファイル内の HTML テキストをこのページに組み入れます。このページのファイルは、javadoc に複数のパッケージ名を渡した場合にだけ作成されます。詳細は、「HTML フレーム」を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   725
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   726
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   727
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   728
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   729
\f3相互参照ページ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   730
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   731
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   732
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   733
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   734
\f3パッケージのセット全体に対して 1 つのクラス階層ページ\fP (\f2overview\-tree.html\fP)。このページを表示するには、ナビゲーションバーの [概要] をクリックしてから、[階層ツリー] をクリックします。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   735
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   736
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   737
\f3パッケージごとに 1 つのクラス階層ページ\fP (\f2package\-tree.html\fP)。 特定のパッケージ、クラス、またはインタフェースのページを表示してから、[階層ツリー] をクリックすると、そのパッケージのクラス階層が表示されます。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   738
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   739
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   740
\f3パッケージごとに 1 つの [使用] ページ\fP (\f2package\-use.html\fP)と、\f3クラスおよびインタフェースごとに 1 つずつの [使用] ページ\fP (\f2class\-use/\fP\f2クラス名\fP\f2.html\fP)。このページには、特定のクラス、インタフェース、またはパッケージの一部を使っているパッケージ、クラス、メソッド、コンストラクタ、およびフィールドについて記述されます。クラスまたはインタフェース A を例にして考えると、その [使用] ページには、A のサブクラス、A として宣言されたフィールド、A を返すメソッド、A 型のパラメータを持つメソッドおよびコンストラクタが表示されます。 このページを表示するには、まず、パッケージ、クラス、またはインタフェースのページに移動してから、ナビゲーションバーの [使用] リンクをクリックします。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   741
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   742
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   743
\f3非推奨 API ページ\fP (\f2deprecated\-list.html\fP)。 推奨されないすべての名前が一覧表示されます。非推奨名は、一般に改良された API が存在するために使用が推奨されていない API の名前であり、通常、それに置き換わる名前が提示されています。非推奨 API は、将来の実装では削除される可能性があります。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   744
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   745
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   746
\f3定数フィールド値ページ\fP (\f2constant\-values.html\fP)。 static フィールドの値用です。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   747
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   748
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   749
\f3直列化されたフォームページ\fP (\f2serialized\-form.html\fP)。 直列化および外部化可能なクラスです。これらの各クラスには、直列化フィールドおよびメソッドに関する説明があります。これらの情報は、API を使う開発者ではなく、再実装を行う開発者に必要な情報です。ナビゲーションバーにこのページへのリンクはありませんが、直列化されたクラスに移動して、そのクラスの説明にある [関連項目] セクションで [直列化された形式] をクリックすると、この情報を取得できます。標準ドックレットは、直列化された形式のページを自動的に生成します。ここには、Serializable を実装する public または非 public のクラスが組み込まれており、さらに、\f2readObject\fP メソッド、\f2writeObject\fP メソッド、直列化されたフィールド、および \f2@serial\fP タグ、\f2@serialField\fP タグ、\f2@serialData\fP タグからのドキュメンテーションコメントが組み込まれています。直列化が可能な public クラスを除外するには、そのクラスまたはそのクラスが属するパッケージを \f2@serial exclude\fP タグで指定します。 直列化が可能な package private クラスを含めるには、そのクラスまたはそのクラスが属するパッケージを \f2@serial include\fP タグで指定します。バージョン 1.4 では、\f2\-private\fP オプションの指定なしで javadoc ツールを実行することにより、public クラスおよび private クラスの完全に直列化されたクラスを生成できます。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   750
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   751
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   752
\f3索引\fP (\f2index\-*.html\fP)。 すべてのクラス名、インタフェース名、コンストラクタ名、フィールド名、およびメソッド名が、アルファベット順に並んでいます。索引は、Unicode を扱えるように国際化されています。 1 つのファイルとして生成することも、先頭文字 (英語の場合 A 〜 Z) ごとに別々のファイルとして生成することもできます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   753
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   754
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   755
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   756
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   757
\f3サポートファイル\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   758
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   759
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   760
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   761
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   762
\f3ヘルプページ\fP (\f2help\-doc.html\fP)。 ナビゲーションバーや前述の各ページに関する説明が記載されています。\f2\-helpfile\fP を使うと、デフォルトのヘルプファイルに代わる独自のカスタムヘルプファイルを提供することもできます。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   763
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   764
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   765
表示用の HTML フレームを作成する 1 つの \f3index.html ファイル\fP。このファイルは、フレーム付きの先頭ページを表示する場合にロードします。このファイル自体には、テキスト内容は含まれていません。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   766
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   767
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   768
複数の\f3フレームファイル\fP (\f2*\-frame.html\fP)。 パッケージ、クラス、およびインタフェースのリストが含まれています。 HTML フレームを表示するときに使用されます。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   769
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   770
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   771
\f3パッケージリスト\fPファイル (\f2package\-list\fP)。 \f2\-link\fP オプションおよび \f2\-linkoffline\fP オプションで使用されます。これは、HTML ファイルではなくテキストファイルであり、どのリンクからもアクセスできません。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   772
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   773
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   774
\f3スタイルシート\fPファイル (\f2stylesheet.css\fP)。 生成されるページ上のいくつかの要素について、色、フォントファミリ、フォントサイズ、フォントのスタイル、および配置を制御します。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   775
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   776
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   777
\f3doc\-files\fP ディレクトリ。 生成先ディレクトリにコピーするイメージ、サンプルコード、ソースコードなどのファイルがすべて格納されます。これらのファイルは、Javadoc ツールによって処理されないため、ファイル内に javadoc タグがあっても無視されます。このディレクトリは、ソースツリーの中にある場合にのみ生成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   778
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   779
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   780
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   781
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   782
\f3HTML フレーム\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   783
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   784
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   785
Javadoc ツールは、下の図に示すように、2 〜 3 つの HTML フレームを生成します。1 つのパッケージしかない場合 (またはパッケージがない場合) は、パッケージの一覧を省略することによって最低限必要な数のフレームを作成します。単一のパッケージに属するソースファイル (*.java) または単一のパッケージ名を引数として javadoc コマンドに渡す場合は、左側の列にクラスの一覧を表示するフレーム (C) 1 つだけが作成されます。Javadoc に複数のパッケージ名を渡した場合は、概要ページ (Detail) に加えて、すべてのパッケージを一覧表示する第 3 のフレーム (P) が作成されます。この概要ページのファイル名は、\f2overview\-summary.html\fP です。したがって、このファイルは、2 つ以上のパッケージ名を渡した場合にだけ作成されます。[フレームなし] リンクをクリックするか、overview\-summary.html を最初に表示すると、フレームを省略できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   786
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   787
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   788
HTML フレームに慣れていない場合は、特定のフレームを印刷およびスクロールするには、そのフレームに「フォーカス」がなければならないことに注意してください。フレームにフォーカスを与えるには、そのフレームをクリックします。このようにすると、多くのブラウザでは、矢印キーやページキーを使ってそのフレームをスクロールしたり、[印刷] メニューコマンドを使ってそのフレームを印刷したりできます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   789
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   790
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   791
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   792
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   793
              \-\-\-\-\-\-\-\-\-\-\-\-                  \-\-\-\-\-\-\-\-\-\-\-\-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   794
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   795
              |C| Detail |                  |P| Detail |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   796
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   797
              | |        |                  | |        |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   798
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   799
              | |        |                  |\-|        |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   800
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   801
              | |        |                  |C|        |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   802
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   803
              | |        |                  | |        |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   804
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   805
              | |        |                  | |        |
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   806
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   807
              \-\-\-\-\-\-\-\-\-\-\-\-                  \-\-\-\-\-\-\-\-\-\-\-\-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   808
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   809
             javadoc *.java           javadoc java.lang java.awt
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   810
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   811
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   812
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   813
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   814
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   815
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   816
HTML フレームが必要かどうかによって、次のどちらかのファイルを開始ページとしてロードします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   817
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   818
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   819
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   820
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   821
\f2index.html\fP (フレームあり) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   822
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   823
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   824
\f2overview\-summary.html\fP (フレームなし) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   825
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   826
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   827
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   828
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   829
\f3生成されるファイルの構造\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   830
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   831
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   832
生成されるクラスファイルおよびインタフェースファイルは、Java ソースファイルおよびクラスファイルと同じディレクトリ階層に編成されます。1 つのサブパッケージにつき 1 つのディレクトリ、という構造になります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   833
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   834
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   835
たとえば、\f2java.applet.Applet\fP クラスに対して生成されるドキュメントは、\f2java/applet/Applet.html\fP に格納されます。生成先のディレクトリの名前が \f2apidocs\fP だとすると、java.applet パッケージのファイル構造は、その下に構築されます。前述のように、「frame」という語を名前に含むファイルは、すべて左上または左下のフレームに表示されます。それ以外の HTML ファイルは、すべて右側のフレームに表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   836
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   837
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   838
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   839
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   840
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   841
注 \- 下の階層図で、ディレクトリは\f3太字\fP (\f3bold\fP) で示してあります。アスタリスク (\f2*\fP) は、javadoc への引数がパッケージ名ではなくソースファイル名 (*.java) である場合に省略されるファイルおよびディレクトリを示しています。また、引数がソースファイル名の場合は、\f2package\-list\fP は作成されますが、内容は空です。doc\-files ディレクトリは、ソースツリー内に存在する場合にのみ、生成先に作成されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   842
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   843
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   844
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   845
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   846
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   847
90ce3da70b43 Initial load
duke
parents:
diff changeset
   848
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   849
\fP\f3apidocs\fP                             最上位ディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   850
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   851
   index.html                       HTML フレームを設定する初期ページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   852
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   853
 * overview\-summary.html            全パッケージのリスト。 先頭に要約文がある
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   854
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   855
   overview\-tree.html               全パッケージのクラス階層のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   856
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   857
   deprecated\-list.html             全パッケージの推奨されない API のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   858
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   859
   constant\-values.html             全パッケージの static フィールドの値のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   860
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   861
   serialized\-form.html             全パッケージの直列化された形式のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   862
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   863
 * overview\-frame.html              全パッケージのリスト。 左上のフレームに表示される
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   864
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   865
   allclasses\-frame.html            全パッケージの全クラスのリスト。 左下のフレームに表示される
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   866
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   867
   help\-doc.html                    これらのページの構成を示すユーザーヘルプを表示する
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   868
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   869
   index\-all.html                   \-splitindex オプションなしで作成されたデフォルト索引
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   870
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   871
   \f3index\-files\fP                      \-splitindex オプションを指定して作成されたディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   872
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   873
       index\-<number>.html          \-splitindex オプションを指定して作成された索引ファイル
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   874
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   875
   package\-list                     パッケージ名のリスト。 外部参照を解決するためだけに使用される
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   876
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   877
   stylesheet.css                   フォント、色、配置を定義する HTML スタイルシート
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   878
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   879
   \f3java\fP                             パッケージディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   880
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   881
       \f3applet\fP                       サブパッケージディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   882
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   883
            Applet.html             Applet クラスのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   884
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   885
            AppletContext.html      AppletContext インタフェースのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   886
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   887
            AppletStub.html         AppletStub インタフェースのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   888
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   889
            AudioClip.html          AudioClip インタフェースのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   890
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   891
          * package\-summary.html    このパッケージのクラスのリスト。 先頭に要約文がある
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   892
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   893
          * package\-frame.html      このパッケージのクラスのリスト。 左下のフレームに表示される
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   894
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   895
          * package\-tree.html       このパッケージのクラス階層のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   896
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   897
            package\-use             このパッケージが使用されている場所のリスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   898
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   899
            \f3doc\-files\fP               イメージやサンプルのファイルが格納されるディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   900
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   901
            \f3class\-use\fP               API が使用されている場所のページを格納するディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   902
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   903
                Applet.html         Applet クラスを使用するページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   904
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   905
                AppletContext.html  AppletContext インタフェースを使用するページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   906
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   907
                AppletStub.html     AppletStub インタフェースを使用するページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   908
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   909
                AudioClip.html      AudioClip インタフェースを使用するページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   910
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   911
   \f3src\-html\fP                         ソースコードディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   912
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   913
       \f3java\fP                         パッケージディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   914
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   915
           \f3applet\fP                   サブパッケージディレクトリ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   916
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   917
                Applet.html         Applet ソースコードのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   918
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   919
                AppletContext.html  AppletContext ソースコードのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   920
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   921
                AppletStub.html     AppletStub ソースコードのページ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   922
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   923
                AudioClip.html      AudioClip ソースコードのページ
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   924
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   925
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   926
90ce3da70b43 Initial load
duke
parents:
diff changeset
   927
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   928
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   929
生成される API 宣言
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   930
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   931
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   932
Javadoc ツールは、それぞれのクラス、インタフェース、フィールド、コンストラクタ、およびメソッドの説明の最初に、その API 用の宣言を生成します。 この宣言は、その API 項目の宣言です。たとえば、\f2Boolean\fP クラスの宣言は、次のようになります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   933
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   934
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   935
\f2public final class Boolean\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   936
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   937
\f2extends Object\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   938
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   939
\f2implements Serializable\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   940
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   941
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   942
また、\f2Boolean.valueOf\fP メソッドの宣言は、次のようになります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   943
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   944
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   945
\f2public static Boolean valueOf(String s)\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   946
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   947
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   948
Javadoc ツールは、修飾子 \f2public\fP、\f2protected\fP、\f2private\fP、\f2abstract\fP、\f2final\fP、\f2static\fP、\f2transient\fP、および \f2volatile\fP を組み込むことができますが、\f2synchronized\fP と \f2native\fP を組み込むことができません。これら後者の 2 つの修飾子は、実装の詳細と見なされているため、API 仕様には含まれません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   949
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   950
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   951
API では、並行性のセマンティクスについて、キーワード \f2synchronized\fP に依存するのではなく、コメントによる主説明としてドキュメント化する必要があります。 たとえば、「1 つの \f2Enumeration\fP を複数のスレッドから並行して使用することはできない」などのコメントを記述します。ドキュメントには、これらのセマンティクスを実現する方法を記述するべきではありません。たとえば、\f2Hashtable\fP はスレッドに対して安全である必要がありますが、「エクスポートされるすべてのメソッドを同期化すればそれを実現できる」のようには指定する根拠はありません。バケットレベルで内部的に同期化する権利を残しておく必要があります。 そうすれば、より高度な並行性が提供されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   952
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   953
.SH "ドキュメンテーションコメント"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   954
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   955
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   956
オリジナルの「ドキュメンテーションコメントの仕様」は、「関連項目」を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   957
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   958
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   959
ソースコードへのコメントの挿入
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   960
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   961
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   962
ソースコードの任意のクラス、インタフェース、メソッド、コンストラクタ、またはフィールドの宣言の前に、ドキュメンテーションコメント ("doc comments") を記述することができます。各パッケージにドキュメンテーションコメントを作成できます。 構文は若干異なりますが、概要にもドキュメンテーションコメントを作成できます。ドキュメンテーションコメントは、非公式に「Javadoc コメント」と呼ばれています (この用語は商標関連の使用法に違反)。ドキュメンテーションコメントは、コメントの始まりを示す文字列 \f2/**\fP と、コメントの終わりを示す文字列 \f2*/\fP の間にある文字で構成されます。行の先頭のアスタリスクは、各行に記述できます。 詳細は、以下で説明します。コメントのテキストは、複数行にわたって記述できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   963
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   964
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   965
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   966
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   967
/**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   968
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   969
 * This is the typical format of a simple documentation comment
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   970
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   971
 * that spans two lines.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   972
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   973
 */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   974
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   975
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   976
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   977
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   978
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   979
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   980
次のようにして 1 行に記述すると、スペースを節約できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   981
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   982
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   983
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   984
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   985
/** This comment takes up only one line. */
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   986
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   987
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   988
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   989
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   990
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   991
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   992
\f3コメントの配置\fP \- ドキュメンテーションコメントは、クラス、インタフェース、コンストラクタ、メソッド、またはフィールドの宣言の直前に置かれているときにだけ認識されます。 クラスの例、メソッドの例、およびフィールドの例を参照してください。メソッドの本体に置かれているドキュメンテーションコメントは無視されます。javadoc ツールでは、1 つの宣言文につき 1 つのドキュメンテーションコメントだけが認識されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   993
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   994
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   995
よくある間違いは、クラスのコメントとクラスの宣言の間に \f2import\fP 文を置いてしまうことです。このような記述はしないでください。 このようなクラスコメントは無視されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   996
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   997
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   998
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   999
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1000
   /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1001
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1002
    * This is the class comment for the class Whatever.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1003
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1004
    */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1005
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1006
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1007
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1008
    import com.sun;   // MISTAKE \- Important not to put import statement here
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1009
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1010
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1011
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1012
    public class Whatever {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1013
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1014
    }
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1015
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1016
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1017
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1018
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1019
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1020
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1021
\f3ドキュメンテーションコメントは主説明のあとにタグセクションが続く\fP \- コメントの開始区切り文字である \f2/**\fP のあとからタグセクションまでが主説明になります。タグセクションは、先頭文字が \f2@\fP である行で定義される最初のブロックタグから始まります (行の先頭のアスタリスク、空白、および行の先頭の区切り文字 \f2/**\fP は除く)。主説明を記述せず、タグセクションだけのコメントを記述することもできます。主説明は、タグセクション以降に続けることはできません。タグの引数は、複数行にわたって記述できます。タグの数に制限はありません。 何回も記述できるタグと、1 回しか記述できないタグがあります。例えば、次の \f2@see\fP からタグセクションが始まります。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1022
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1023
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1024
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1025
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1026
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1027
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1028
 * This sentence would hold the main description for this doc comment.
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1029
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1030
 * @see java.lang.Object
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1031
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1032
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1033
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1034
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1035
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1036
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1037
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1038
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1039
\f3ブロックタグとインラインタグ\fP \- 「タグ」は、Javadoc が処理できる、ドキュメンテーションコメント内の特別なキーワードです。\f2@tag\fP のように記述するブロックタグ (「スタンドアロンタグ」とも呼ばれる) と、インラインタグ (\f2{@tag}\fP のように中括弧で囲んで記述) の 2 種類のタグがあります。ブロックタグが正しく解釈されるためには、行の先頭のアスタリスク、空白、区切り文字 (\f2/**\fP) を除いて、行の先頭に置かなければなりません。これは、テキスト内のそれ以外の位置で \f2@\fP 文字を使用しても、タグの開始としては解釈されないことを意味しています。行の最初に \f2@\fP 文字を使用してもタグとして解釈されないようにするには、HTML エンティティーの「\f2@\fP」を使用してください。それぞれのブロックタグには、対応付けられたテキストがあります。 このテキストは、タグのあとから、次のタグの前、またはドキュメンテーションコメントの最後までの間に記述されたテキスト (タグやコメント区切り文字を除く) です。この関連テキストは複数行にわたって記述できます。インラインタグは、テキストを記述できる場所であればどこにでも置くことができ、正しく解釈されます。次のコード例には、ブロックタグ \f2@deprecated\fP と、インラインタグ \f2{@link}\fP が含まれています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1040
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1041
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1042
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1043
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1044
/**
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1045
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1046
 * @deprecated  As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1047
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1048
 */
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1049
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1050
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1051
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1052
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1053
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1054
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1055
\f3コメントは HTML で記述する\fP \- テキストは HTML 形式で記述しなければなりません。 これは、HTML のエンティティーを使う必要があること、および HTML タグを使用できることを意味します。記述する HTML のバージョンとしては、使用するブラウザがサポートする任意のバージョンを使用できます。 標準ドックレットは、カスケーディングスタイルシート (CSS) とフレームを含め、すべての部分 (ドキュメンテーションコメント以外の部分) で HTML 3.2 に準拠したコードを生成するように作成されています。ただし、フレームセット対応のため、生成される各ファイルには「HTML 4.0」と記述されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1056
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1057
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1058
たとえば、より小さい (\f2<\fP) およびより大きい (\f2>\fP) という記号は\f2<\fP および \f2>\fP として記述する必要があります。同様に、アンパサンド (\f2&\fP) は、\f2&\fP と記述する必要があります。次の例では、ボールドの HTML タグ \f2<b>\fP を使っています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1059
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1060
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1061
次に、ドキュメンテーションコメントを示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1062
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1063
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1064
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1065
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1066
/**
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1067
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1068
 * This is a <b>doc</b> comment.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1069
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1070
 * @see java.lang.Object
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1071
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1072
 */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1073
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1074
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1075
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1076
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1077
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1078
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1079
\f3行頭のアスタリスク\fP \- Javadoc は、ドキュメンテーションコメントを解析するときに、各行の先頭にあるアスタリスク (\f2*\fP) をすべて破棄します。 また、最初のアスタリスク (\f2*\fP) より前の空白とタブも破棄します。バージョン 1.4 からは、行の先頭のアスタリスクを省略しても、先頭の空白文字は削除されなくなりました。このため、コード例を直接ドキュメンテーションコメントの \f2<PRE>\fP タグ内にペーストしても、インデントが保持されます。通常、ブラウザは、空白文字をタブよりも一律に解釈します。インデントは区切り文字 \f2/**\fP または \f2<PRE>\fP タグよりも左寄りになります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1080
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1081
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1082
\f3最初の文\fP \- 各ドキュメンテーションコメントの最初の文は、宣言されているエンティティーに関する簡潔かつ完全な要約文である必要があります。この「最初の文」は、直後にスペース、タブ、または改行が続く最初のピリオド (ロケールが英語に設定されている場合)、または最初のタグがある位置で終わります。最初の文は、Javadoc ツールによって HTML ページの最初にあるメンバーの概要の部分にコピーされます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1083
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1084
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1085
\f3複数フィールドの宣言\fP \- Java では、1 つの文で複数のフィールドを宣言できます。 ただし、この文には、1 つのドキュメンテーションコメントしか記述できません。 そのコメントが、すべてのフィールドに対してコピーされます。したがって、フィールドごとにドキュメンテーションコメントを記述する必要がある場合は、各フィールドを別々の文で宣言しなければなりません。たとえば、次のドキュメンテーションコメントは、1 つの宣言として記述すると不適切です。 この場合は、宣言を 2 つに分けることをお勧めします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1086
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1087
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1088
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1089
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1090
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1091
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1092
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1093
/** 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1094
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1095
 * The horizontal and vertical distances of point (x,y)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1096
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1097
 */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1098
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1099
public int x, y;      // Avoid this  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1100
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1101
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1102
.fi
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1103
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1104
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1105
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1106
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1107
上記のコードからは、次のようなドキュメントが生成されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1108
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1109
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1110
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1111
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1112
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1113
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1114
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1115
public int \fP\f3x\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1116
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1117
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1118
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1119
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1120
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1121
The horizontal and vertical distances of point (x,y) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1122
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1123
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1124
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1125
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1126
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1127
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1128
public int \fP\f3y\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1129
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1130
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1131
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1132
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1133
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1134
The horizontal and vertical distances of point (x,y) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1135
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1136
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1137
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1138
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1139
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1140
\f3見出しタグはなるべく使用しない\fP \- メンバーに対してドキュメンテーションコメントを記述するときには、<H1> や <H2> などの HTML 見出しタグは、なるべく使わないでください。 Javadoc ツールは、完全に構造化されたドキュメントを作成するので、このような構造化タグが使われていると、生成ドキュメントの形式が悪影響を受けることがあります。ただし、クラスやパッケージのコメントでは、これらの見出しタグを使って独自の構造を組み立ててかまいません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1141
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1142
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1143
メソッドコメントの自動コピー
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1144
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1145
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1146
Javadoc ツールには、次の 2 つの場合に、クラスおよびインタフェースのメソッドコメントをコピーまたは「継承」する機能があります。コンストラクタ、フィールド、および入れ子のクラスは、ドキュメンテーションコメントを継承しません。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1147
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1148
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1149
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1150
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1151
\f3自動的にコメントを継承して、見つからないテキストを埋める\fP \- 主説明、または \f2@return\fP タグ、\f2@param\fP タグ、\f2@throws\fP  タグが、メソッドコメントで見つからない場合、Javadoc ツールは、オーバーライドしたメソッドまたは実装している場合はそのメソッドから、対応する主説明またはタグコメントを、次のアルゴリズムに従ってコピーします。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1152
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1153
厳密には、特定のパラメータの \f2@param\fP タグが見つからない場合、そのパラメータのコメントが、上位の継承階層のメソッドからコピーされます。特定の例外の \f2@throws\fP タグが見つからない場合、その例外が宣言されている場合にかぎり、その \f2@throws\fP タグがコピーされます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1154
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1155
この動作はバージョン 1.3 以前の動作とは対照的です。 これまでのバージョンでは、主説明またはタグが存在すれば、コメントは一切継承されませんでした。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1156
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1157
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1158
\f3{@inheritDoc} タグを持つコメントを明示的に継承する\fP \- インラインタグ \f2{@inheritDoc}\fP を、メソッドの主説明、または \f2@return\fP、\f2@param\fP、\f2@throws\fP タグコメントに挿入します。 継承した対応する主説明またはタグコメントは、その箇所にコピーされます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1159
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1160
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1161
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1162
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1163
ドキュメンテーションコメントを実際にコピーに利用するには、継承したメソッドのソースファイルが \-sourcepath で指定したパスだけに置かれていることが必要になります。コマンド行で、クラスもパッケージも渡す必要はありません。この点は、クラスがドキュメント化されるクラスでなければならなかった 1.3.x 以前のリリースと異なります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1164
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1165
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1166
\f3クラスおよびインタフェースからの継承\fP \- クラスおよびインタフェースから継承する次の 3 つの場合に、コメントの継承が行われます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1167
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1168
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1169
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1170
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1171
クラスのメソッドがスーパークラスのメソッドをオーバーライドしている 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1172
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1173
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1174
インタフェースのメソッドがスーパーインタフェースのメソッドをオーバーライドしている 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1175
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1176
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1177
クラスのメソッドがインタフェースのメソッドを実装している 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1178
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1179
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1180
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1181
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1182
最初の 2 つのケース (メソッドがオーバーライドしている場合) では、Javadoc ツールは、そのコメントが継承されているかどうかにかかわらず、オーバーライドしているメソッドのドキュメント内に「オーバーライド」という小見出しを生成し、オーバーライドされているメソッドへのリンクを書き込みます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1183
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1184
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1185
3 つ目のケース (特定のクラスのメソッドがインタフェースのメソッドを実装している場合) では、javadoc ツールは、オーバーライドしているメソッドのドキュメント内に「定義」という小見出しを生成し、実装されているメソッドへのリンクを書き込みます。これは、コメントが継承されているかどうかにかかわりません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1186
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1187
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1188
\f3メソッドの説明が継承されるアルゴリズム\fP \- あるメソッドにドキュメンテーションコメントが記述されていない場合、または {@inheritDoc} タグがある場合、Javadoc ツールは、次のようなアルゴリズムを使用して適切なコメントを検索します。 このアルゴリズムは、もっとも適切なドキュメンテーションコメントを検索できるように設計されており、スーパークラスよりもインタフェースが優先されるようになっています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1189
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1190
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1191
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1192
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1193
直接に実装されている (または、拡張されている) インタフェースを、メソッドの宣言で implements (または extends) キーワードのあとに登場する順序で、1 つずつ調べる。このメソッドについて最初に見つかったドキュメンテーションコメントを採用する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1194
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1195
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1196
手順 1 でドキュメンテーションコメントが見つからなかった場合は、直接実装されている (または、拡張されている) インタフェースのそれぞれに対して、このアルゴリズム全体を再帰的に適用する (その際の順序は、手順 1 でインタフェースを調べたときの順序と同じ) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1197
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1198
3.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1199
手順 2 でドキュメンテーションコメントが見つからなかった場合で、このクラスが Object 以外のクラスである (インタフェースではない) 場合は、次のように処理する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1200
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1201
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1202
a.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1203
スーパークラスにこのメソッドについてのドキュメンテーションコメントが記述されていれば、そのコメントを採用する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1204
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1205
b.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1206
手順 3a でドキュメンテーションコメントが見つからなかった場合は、スーパークラスに対して、このアルゴリズム全体を適用する 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1207
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1208
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1209
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1210
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1211
.SH "javadoc タグ"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1212
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1213
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1214
Javadoc ツールは、Java のドキュメンテーションコメント内に埋め込まれた特別なタグを解析します。これらのドキュメンテーションタグを使うと、書式の整った完全な API ドキュメントをソースコードから自動的に生成できます。タグは、単価記号 (\f2@\fP) で始まり、大文字と小文字が区別されます。 これらのタグは、定められたとおりの大文字と小文字を使用して記述する必要があります。タグは、行の先頭 (先行する空白と省略可能なアスタリスクは除く) に置かなければなりません。慣例として、同じ名前のタグは 1 か所にまとめて記述するようにします。たとえば、\f2@see\fP タグが複数ある場合は、すべてを 1 か所にまとめて記述します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1215
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1216
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1217
タグには 2 つのタイプがあります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1218
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1219
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1220
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1221
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1222
\f3ブロックタグ\fP \- 主説明に続くタグセクション内にのみ記述可能。ブロックタグは、\f2@tag\fP の形式をとります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1223
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1224
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1225
\f3インラインタグ\fP \- コメントの主説明内またはブロックタグのコメント内に記述可能。インラインタグは、\f2{@tag}\fP のように中括弧で囲みます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1226
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1227
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1228
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1229
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1230
今後のリリースで導入されるタグについては、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1231
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1232
\f2「Proposed Javadoc Tags」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1233
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1234
http://java.sun.com/j2se/javadoc/proposed\-tags.htmlを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1235
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1236
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1237
現時点で有効なタグは、次のとおりです。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1238
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1239
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1240
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1241
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1242
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1243
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1244
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1245
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1246
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1247
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1248
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1249
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1250
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1251
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1252
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1253
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1254
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1255
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1256
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1257
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1258
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1259
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1260
.rm 80 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1261
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1262
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1263
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1264
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1265
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1266
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1267
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1268
.ll \n(34u*1u/3u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1269
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1270
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1271
\f3導入された JDK/SDK のバージョン\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1272
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1273
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1274
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1275
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1276
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1277
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1278
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1279
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1280
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1281
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1282
.nr 38 \w\f3タグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1283
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1284
.nr 38 \w\f2@author\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1285
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1286
.nr 38 \w\f2{@code}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1287
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1288
.nr 38 \w\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1289
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1290
.nr 38 \w\f2@deprecated\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1291
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1292
.nr 38 \w\f2@exception\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1293
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1294
.nr 38 \w\f2{@inheritDoc}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1295
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1296
.nr 38 \w\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1297
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1298
.nr 38 \w\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1299
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1300
.nr 38 \w\f2{@literal}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1301
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1302
.nr 38 \w\f2@param\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1303
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1304
.nr 38 \w\f2@return\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1305
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1306
.nr 38 \w\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1307
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1308
.nr 38 \w\f2@serial\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1309
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1310
.nr 38 \w\f2@serialData\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1311
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1312
.nr 38 \w\f2@serialField\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1313
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1314
.nr 38 \w\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1315
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1316
.nr 38 \w\f2@throws\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1317
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1318
.nr 38 \w\f2{@value}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1319
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1320
.nr 38 \w\f2@version\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1321
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1322
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1323
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1324
.nr 81 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1325
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1326
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1327
.nr 38 \w1.5
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1328
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1329
.nr 38 \w1.3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1330
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1331
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1332
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1333
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1334
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1335
.nr 38 \w1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1336
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1337
.nr 38 \w1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1338
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1339
.nr 38 \w1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1340
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1341
.nr 38 \w1.5
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1342
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1343
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1344
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1345
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1346
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1347
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1348
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1349
.nr 38 \w1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1350
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1351
.nr 38 \w1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1352
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1353
.nr 38 \w1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1354
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1355
.nr 38 \w1.1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1356
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1357
.nr 38 \w1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1358
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1359
.nr 38 \w1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1360
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1361
.nr 38 \w1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1362
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1363
.81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1364
.rm 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1365
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1366
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1367
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1368
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1369
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1370
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1371
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1372
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1373
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1374
.nr 41 \n(80+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1375
.nr 81 +\n(41
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1376
.nr TW \n(81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1377
.if t .if \n(TW>\n(.li .tm Table at line 1125 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1378
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1379
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1380
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1381
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1382
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1383
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1384
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1385
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1386
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1387
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1388
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1389
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1390
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1391
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1392
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1393
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1394
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1395
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1396
\&\h'|\n(40u'\f3タグ\fP\h'|\n(41u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1397
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1398
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1399
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1400
.nr 37 (\n(41u+\n(81u-\n(a-u)/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1401
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1402
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1403
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1404
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1405
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1406
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1407
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1408
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1409
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1410
\&\h'|\n(40u'\f2@author\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1411
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1412
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1413
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1414
\&\h'|\n(40u'\f2{@code}\fP\h'|\n(41u'1.5
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1415
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1416
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1417
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1418
\&\h'|\n(40u'\f2{@docRoot}\fP\h'|\n(41u'1.3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1419
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1420
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1421
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1422
\&\h'|\n(40u'\f2@deprecated\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1423
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1424
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1425
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1426
\&\h'|\n(40u'\f2@exception\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1427
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1428
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1429
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1430
\&\h'|\n(40u'\f2{@inheritDoc}\fP\h'|\n(41u'1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1431
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1432
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1433
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1434
\&\h'|\n(40u'\f2{@link}\fP\h'|\n(41u'1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1435
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1436
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1437
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1438
\&\h'|\n(40u'\f2{@linkplain}\fP\h'|\n(41u'1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1439
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1440
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1441
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1442
\&\h'|\n(40u'\f2{@literal}\fP\h'|\n(41u'1.5
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1443
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1444
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1445
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1446
\&\h'|\n(40u'\f2@param\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1447
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1448
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1449
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1450
\&\h'|\n(40u'\f2@return\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1451
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1452
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1453
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1454
\&\h'|\n(40u'\f2@see\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1455
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1456
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1457
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1458
\&\h'|\n(40u'\f2@serial\fP\h'|\n(41u'1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1459
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1460
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1461
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1462
\&\h'|\n(40u'\f2@serialData\fP\h'|\n(41u'1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1463
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1464
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1465
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1466
\&\h'|\n(40u'\f2@serialField\fP\h'|\n(41u'1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1467
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1468
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1469
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1470
\&\h'|\n(40u'\f2@since\fP\h'|\n(41u'1.1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1471
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1472
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1473
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1474
\&\h'|\n(40u'\f2@throws\fP\h'|\n(41u'1.2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1475
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1476
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1477
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1478
\&\h'|\n(40u'\f2{@value}\fP\h'|\n(41u'1.4
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1479
.ta \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1480
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1481
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1482
\&\h'|\n(40u'\f2@version\fP\h'|\n(41u'1.0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1483
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1484
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1485
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1486
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1487
.rm a+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1488
.TE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1489
.if \n-(b.=0 .nr c. \n(.c-\n(d.-44
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1490
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1491
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1492
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1493
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1494
カスタムタグについては、\-tag オプションを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1495
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1496
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1497
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1498
@author\  name\-text 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1499
\-author オプションが使われている場合、生成ドキュメントに「著者」の項目を追加し、指定された \f2name\-text\fP を書き込みます。1 つのドキュメンテーションコメントに複数の \f2@author\fP タグを含めることができます。1 つの \f2@author\fP タグに 1 つの名前を指定することも、1 つのタグに複数の名前を指定することもできます。前者の場合は、Javadoc ツールによって、名前と名前の間にコンマ (\f2,\fP) とスペースが挿入されます。後者の場合は、テキスト全体が、解析されることなく、生成ドキュメントにそのままコピーされます。したがって、コンマではなく、各言語に対応した名前区切り文字を使う必要があるときは、1 つのタグに複数の名前を指定してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1500
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1501
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1502
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1503
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1504
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1505
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1506
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1507
詳細については、「タグを使用できる場所」および 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1508
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1509
\f2@author タグのドキュメント\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1510
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1511
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@authorを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1512
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1513
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1514
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1515
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1516
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1517
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1518
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1519
@deprecated\  deprecated\-text 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1520
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1521
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1522
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1523
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1524
注: JDK 5.0 から、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1525
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1526
\f2@Deprecated 注釈\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1527
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1528
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/deprecation/deprecation.htmlを使って特定のプログラム要素を非推奨にできるようになりました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1529
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1530
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1531
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1532
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1533
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1534
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1535
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1536
この API は動作し続けますが、この API を使用するべきではないことを示すコメントを追加します。Javadoc ツールは、\f2deprecated\-text\fP を主説明の前に移動してイタリックにし、その前にボールドの警告「推奨されません。」を追加します。このタグは、すべてのドキュメンテーションコメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1537
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1538
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1539
\f2deprecated\-text\fP の最初の文では、少なくとも、その API が推奨されなくなった時期と、代替使用するべき API を読者に提示する必要があります。Javadoc ツールは、この最初の文だけを、概要セクションと索引にコピーします。そのあとの文では、その API が推奨されない理由を説明することもできます。また、代わりの API を指し示す \f2{@link}\fP タグ (Javadoc 1.2 以降の場合) を含める必要があります。 次のように記述します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1540
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1541
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1542
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1543
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1544
\f2@deprecated タグのドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1545
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1546
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@deprecatedを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1547
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1548
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1549
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1550
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1551
Javadoc 1.2 以降では、\f2{@link}\fP タグを使用します。これにより、必要な場所にインラインでリンクを作成できます。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1552
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1553
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1554
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1555
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1556
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1557
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1558
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1559
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1560
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1561
/**
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1562
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1563
 * @deprecated  As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1564
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1565
 */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1566
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1567
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1568
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1569
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1570
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1571
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1572
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1573
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1574
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1575
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1576
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1577
Javadoc 1.1 では、各 \f2@deprecated\fP タグに対して \f2@see\fP タグ (インラインにはできない) を記述するのが標準の形式です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1578
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1579
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1580
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1581
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1582
推奨されないタグについての詳細は、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1583
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1584
\f2@deprecated タグ\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1585
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1586
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/deprecation/index.htmlのドキュメントを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1587
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1588
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1589
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1590
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1591
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1592
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1593
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1594
{@code\  text} 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1595
\f2<code>{@literal}</code>\fP と同等です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1596
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1597
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1598
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1599
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1600
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1601
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1602
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1603
テキストを HTML マークアップまたは入れ子になった javadoc タグとして解釈せずに、\f2text\fP を \f2code\fP フォントで表示します。これにより doc コメントでは、パラメータの種類 (\f2<Object>\fP)、不等号 (\f23 < 4\fP)、または矢印 (\f2<\-\fP) などで、HTML エンティティー (\f2<\fP および \f2>\fP) ではなく、通常の山括弧 (\f2<\fP および \f2>\fP) を使用できます。たとえば doc コメントのテキスト
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1604
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1605
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1606
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1607
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1608
     \fP\f4{@code A<B>C}\fP\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1609
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1610
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1611
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1612
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1613
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1614
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1615
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1616
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1617
は、生成された HTML ページで、次のようにそのまま表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1618
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1619
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1620
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1621
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1622
     \fP\f4A<B>C\fP\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1623
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1624
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1625
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1626
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1627
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1628
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1629
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1630
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1631
注目すべき点として、\f2<B>\fP は太字であると解釈されませんが、コードフォントになります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1632
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1633
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1634
コードフォントなしで同じ機能を実現するには、\f2{@literal}\fP を使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1635
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1636
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1637
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1638
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1639
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1640
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1641
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1642
{@docRoot} 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1643
生成されるページから見た、生成ドキュメントの (生成先の) ルートディレクトリへの相対パスを表します。このタグは、著作権のページや会社のロゴなど、生成されるすべてのページから参照するファイルを組み込むときに便利です。通常は、各ページの下部から著作権のページにリンクします。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1644
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1645
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1646
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1647
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1648
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1649
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1650
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1651
この \f2{@docRoot}\fP タグは、コマンド行からも、ドキュメンテーションコメントの中でも使用できます。このタグは、@return、@param、@deprecated などの任意のタグのテキスト部分を含む、すべてのドキュメンテーションコメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1652
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1653
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1654
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1655
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1656
コマンド行では、ヘッダー、フッター、またはボトムノートは次のように定義します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1657
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1658
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1659
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1660
   javadoc \-bottom '<a href="{@docRoot}/copyright.html">Copyright</a>'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1661
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1662
              
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1663
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1664
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1665
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1666
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1667
\- \f2{@docRoot}\fP をこのように利用する場合、一部の Makefile プログラムでは、中括弧 { } 文字をエスケープする必要があります。たとえば、Inprise MAKE バージョン 5.2 を Windows 上で実行する場合は、「\f2{{@docRoot}}\fP」のように、中括弧を二重にする必要があります。さらに、\f2\-bottom\fP などのオプションに対する引数を、単一引用符ではなく、二重引用符で囲む必要があります。 \f2href\fP 引数の値を囲む引用符は省略します。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1668
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1669
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1670
ドキュメンテーションコメントの中では、次のように使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1671
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1672
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1673
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1674
   /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1675
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1676
    * See the <a href="{@docRoot}/copyright.html">Copyright</a>.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1677
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1678
    */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1679
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1680
              
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1681
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1682
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1683
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1684
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1685
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1686
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1687
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1688
このタグが必要な理由は、生成ドキュメントが、サブパッケージと同じ深さを持つ階層構造のディレクトリに格納されるからです。次に例を示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1689
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1690
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1691
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1692
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1693
  <a href="{@docRoot}/copyright.html">
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1694
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1695
          
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1696
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1697
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1698
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1699
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1700
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1701
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1702
次のように解決されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1703
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1704
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1705
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1706
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1707
  <a href="../../copyright.html">      java/lang/Object.java の場合
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1708
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1709
          
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1710
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1711
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1712
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1713
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1714
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1715
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1716
および
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1717
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1718
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1719
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1720
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1721
  <a href="../../../copyright.html">   java/lang/ref/Reference.java の場合
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1722
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1723
          
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1724
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1725
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1726
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1727
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1728
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1729
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1730
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1731
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1732
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1733
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1734
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1735
@exception\  class\-name\  description 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1736
\f2@exception\fP タグは、\f2@throws\fP タグと同義です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1737
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1738
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1739
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1740
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1741
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1742
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1743
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1744
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1745
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1746
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1747
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1748
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1749
{@inheritDoc}\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1750
もっとも近い継承可能なクラスまたは実装可能なインタフェースから、このタグの現在のドキュメンテーションコメントに、ドキュメントを継承 (コピー) します。この機能により、より汎用的なコメントを継承ツリーの上位に記述し、コピーしたテキストを使って記述することができます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1751
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1752
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1753
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1754
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1755
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1756
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1757
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1758
このタグは、ドキュメンテーションコメントの次の位置でのみ有効です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1759
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1760
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1761
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1762
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1763
メソッドの主説明ブロック内。この場合、主説明は、上位階層のクラスまたはインタフェースからコピーされる 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1764
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1765
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1766
メソッドの @return、@param、@throws タグのテキスト引数内。この場合、タグテキストは、上位階層の対応するタグからコピーされる 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1767
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1768
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1769
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1770
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1771
継承階層でコメントを見つける方法に関する正確な説明について、「メソッドコメントの自動コピー」を参照してください。このタグが見つからない場合、コメントは、この節で説明するルールに応じて、自動的に継承されるかどうかが決まります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1772
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1773
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1774
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1775
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1776
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1777
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1778
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1779
{@link\ \  package.class#member\ \  label}\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1780
表示テキスト \f2label\fP とのインラインリンクを挿入します。 \f2label\fP は、参照クラスの指定されたパッケージ、クラス、またはメンバーの名前のドキュメンテーションを指し示します。このタグは、@return、@param、@deprecated などの任意のタグのテキスト部分を含む、すべてのドキュメンテーションコメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1781
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1782
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1783
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1784
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1785
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1786
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1787
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1788
このタグは、\f2@see\fP タグとよく似ています。 どちらのタグも、\f2package.class\fP\f2#\fP\f2member\fP および \f2label\fP の参照の仕方が同じで、有効な構文もまったく同じです。大きな違いは、\f2{@link}\fP は、リンクを [関連項目] セクションに置くのではなく、インラインリンクを生成するということです。また、インラインテキストのほかの部分と区別するために、\f2{@link}\fP タグの最初と最後に中括弧を記述します。ラベルの中で「}」を使う必要がある場合は、HTML エンティティーの「}」を使います。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1789
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1790
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1791
1 つの文の中で使用できる \f2{@link}\fP タグの数に制限はありません。このタグは、ドキュメンテーションコメントの主説明部分、または @deprecated、@return、@param などの任意のタグのテキスト部分で使うことができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1792
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1793
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1794
たとえば、次のコメントでは \f2getComponentAt(int, int)\fP メソッドを参照しています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1795
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1796
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1797
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1798
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1799
{@link #getComponentAt(int, int) getComponentAt} メソッドを使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1800
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1801
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1802
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1803
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1804
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1805
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1806
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1807
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1808
標準ドックレットでは、上記のコメントから次の HTML が生成されます (このコメントが同じパッケージの別のクラスを参照している場合)。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1809
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1810
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1811
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1812
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1813
<a href="Component.html#getComponentAt(int, int)">getComponentAt</a> メソッドを使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1814
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1815
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1816
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1817
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1818
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1819
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1820
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1821
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1822
この HTML は、Web ページ上では次のように表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1823
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1824
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1825
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1826
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1827
getComponentAt メソッドを使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1828
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1829
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1830
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1831
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1832
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1833
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1834
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1835
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1836
\f2{@link}\fP を、ドキュメント化の対象にしていないクラスにまで拡張するには、\f2\-link\fP オプションを使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1837
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1838
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1839
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1840
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1841
\f2{@link} タグのドキュメント\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1842
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1843
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#{@link}を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1844
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1845
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1846
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1847
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1848
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1849
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1850
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1851
{@linkplain\  package.class#member\  label} 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1852
リンクのラベルがコードフォントではなくプレーンテキストで表示される点以外は \f2{@link}\fP と同じです。ラベルがプレーンテキストで記述されていると便利です。例: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1853
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1854
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1855
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1856
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1857
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1858
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1859
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1860
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1861
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1862
     {@linkplain add() the overridden method} を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1863
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1864
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1865
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1866
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1867
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1868
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1869
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1870
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1871
これは以下のように表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1872
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1873
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1874
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1875
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1876
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1877
the overridden method を参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1878
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1879
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1880
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1881
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1882
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1883
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1884
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1885
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1886
{@literal\  text} 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1887
テキストを HTML マークアップまたは入れ子になった javadoc タグとして解釈せずに、\f2text\fP を表示します。これにより doc コメントでは、パラメータの種類 (\f2<Object>\fP)、不等号 (\f23 < 4\fP)、または矢印 (\f2<\-\fP) などで、HTML エンティティー (\f2<\fP および \f2>\fP) ではなく、通常の山括弧 (\f2<\fP および \f2>\fP) を使用できます。たとえば doc コメントのテキスト 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1888
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1889
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1890
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1891
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1892
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1893
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1894
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1895
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1896
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1897
     \fP\f4{@literal A<B>C}\fP\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1898
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1899
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1900
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1901
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1902
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1903
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1904
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1905
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1906
は、生成された HTML ページはブラウザで次のようにそのまま表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1907
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1908
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1909
\f2\ \ \ \ \ \fPA<B>C 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1910
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1911
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1912
注目すべき点として、\f2<B>\fP は太字であると解釈されません (コードフォントにならない)。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1913
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1914
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1915
コードフォントで同じ機能を実現するには、\f2{@code}\fP を使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1916
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1917
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1918
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1919
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1920
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1921
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1922
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1923
@param\  parameter\-name description 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1924
指定した \f2parameter\-name\fP と指定した \f2description\fP を使用してパラメータを「Parameters」セクションに追加します。doc コメントを記述するときは、\f2description\fP を複数行に続けることができます。このタグは、メソッド、コンストラクタ、またはクラスの doc コメント内でのみ有効です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1925
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1926
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1927
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1928
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1929
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1930
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1931
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1932
\f2parameter\-name\fP は、メソッドまたはコンストラクタでのパラメータの名前か、クラス、メソッドまたはコンストラクタのタイプパラメータの名前になります。山括弧でパラメータ名を囲むと、型パラメータを使用することを指定します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1933
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1934
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1935
クラスの型パラメータの例:
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1936
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1937
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1938
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1939
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1940
     /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1941
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1942
      * @param <E> Type of element stored in a list
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1943
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1944
      */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1945
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1946
     public interface List<E> extends Collection<E> {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1947
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1948
     }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1949
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1950
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1951
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1952
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1953
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1954
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1955
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1956
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1957
メソッドの型パラメータの例:
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1958
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1959
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1960
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1961
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1962
     /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1963
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1964
      * @param string  the string to be converted
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1965
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1966
      * @param type    the type to convert the string to
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1967
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1968
      * @param <T>     the type of the element
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1969
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1970
      * @param <V>     the value of the element
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1971
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1972
      */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1973
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1974
     <T, V extends T> V convert(String string, Class<T> type) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1975
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1976
     }
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1977
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1978
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1979
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1980
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1981
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1982
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1983
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1984
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1985
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1986
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1987
\f2@param タグのドキュメント\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1988
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1989
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@paramを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1990
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1991
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1992
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1993
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1994
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1995
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1996
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1997
@return\  description 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1998
[戻り値] セクションを追加して、\f2description\fP のテキストを書き込みます。このテキストでは、戻り値の型と、取り得る値の範囲について記述する必要があります。このタグは、メソッドのドキュメンテーションコメントでのみ有効です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1999
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2000
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2001
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2002
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2003
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2004
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2005
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2006
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2007
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2008
\f2@return タグのドキュメント\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2009
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2010
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@returnを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2011
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2012
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2013
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2014
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2015
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2016
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2017
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2018
@see\ \  reference 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2019
[関連項目] 見出しを追加し、\f2reference\fP を指すリンクか、またはテキストエントリを書き込みます。1 つのドキュメンテーションコメントには、任意の数の \f2@see\fP タグを指定できます。 すべての \f2@see\fP タグの内容は、同じの見出しの下にグループ化されます。\f2@see\fP タグには、次の 3 種類の形式があります。 もっともよく使われるのは、3 番目の形式です。このタグは、すべてのドキュメンテーションコメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。パッケージ、クラス、またはメンバーに対するインラインリンクを文中に挿入する方法は、\f2{@link}\fP を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2020
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2021
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2022
@see "string" 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2023
\f2string\fP のテキストエントリを追加します。リンクは生成されません。\f2string\fP は、書籍または URL ではアクセスできない情報の参照先です。Javadoc ツールは、最初の文字が二重引用符 (\f2"\fP) かどうかを調べて、この形式をほかの 2 つの形式と区別します。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2024
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2025
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2026
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2027
     @see "The Java Programming Language"
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2028
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2029
                  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2030
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2031
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2032
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2033
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2034
これは次のようなテキストを生成します。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2035
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2036
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2037
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2038
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2039
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2040
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2041
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2042
関連項目: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2043
The Java Programming Language 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2044
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2045
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2046
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2047
.RE
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2048
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2049
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2050
@see <a href="URL#value">label</a> 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2051
\f2URL\fP#\f2value\fP で定義されたとおりにリンクを追加します。\f2URL\fP#\f2value\fP は、相対 URL または絶対 URL です。Javadoc ツールは、最初の文字が「より小さい」記号 (\f2<\fP) かどうかを調べて、この形式をほかの 2 つの形式と区別します。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2052
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2053
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2054
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2055
     @see <a href="spec.html#section">Java Spec</a>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2056
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2057
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2058
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2059
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2060
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2061
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2062
これは次のようなリンクを生成します。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2063
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2064
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2065
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2066
関連項目: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2067
Java Spec 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2068
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2069
.RE
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2070
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2071
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2072
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2073
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2074
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2075
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2076
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2077
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2078
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2079
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2080
@see\  package.class#member\  label 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2081
指定された名前を持つ、参照されている Java 言語のメンバーについてのドキュメントを指すリンクを、表示テキスト \f2label\fP とともに追加します。\f2label\fP は省略可能です。 \f2label\fP を省略すると、リンク先のメンバーの名前が適切に短縮されて表示されます。 「名前が表示される方法」を参照してください。\-noqualifier を使用すると、表示テキストからパッケージ名が全体的に削除されます。ラベルは、自動生成される表示テキストとは異なる表示テキストを指定する場合に使います。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2082
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2083
バージョン 1.2 だけは、ラベルではなく、名前が <code> HTML タグ内に自動的に表示されます。 1.2.2 からは、ラベルを使用するか、しないかにかかわらず、<code> は常に表示テキストを囲むかたちで、含まれます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2084
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2085
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2086
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2087
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2088
\f4package.class\fP\f4#\fP\f4member\fP には、参照されている任意の有効なプログラム要素の名前を指定します。 つまり、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、またはフィールドの名前です。 ただし、メンバー名ーの前のドットは、シャープ記号 (\f2#\fP) で置き換えます。\f2class\fP は、任意のトップレベルまたは入れ子にされたクラスまたはインタフェースを表します。\f2member\fP は、任意のコンストラクタ、メソッドまたはフィールド (入れ子にされたクラスまたはインタフェースではない) を表します。指定した名前が、ドキュメント化されているクラスに含まれている場合、Javadoc ツールは、その名前へのリンクを自動的に作成します。外部参照クラスへのリンクを作成するには、\f2\-link\fP オプションを使います。参照クラスに属していない名前のドキュメントを参照するには、ほかの 2 つの形式の \f2@see\fP タグを使います。この引数については、このあとの「名前の指定」で詳しく説明します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2089
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2090
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2091
\f4label\fP は、省略可能なテキストで、リンクのラベルとして表示されます。\f2label\fP には空白を含めることができます。\f2label\fP を省略すると、\f2package.class.member\fP が、現在のクラスおよびパッケージに応じて適切に短縮されて表示されます。 「名前が表示される方法」を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2092
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2093
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2094
空白文字は、\f2package.class\fP\f2#\fP\f2member\fP と \f2label\fP の間の区切り文字です。括弧の内側の空白文字はラベルの先頭とは解釈されないため、メソッドのパラメータ間に空白文字を入れてもかまいません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2095
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2096
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2097
\f3例\fP \- この例では、\f2Character\fP クラスにある \f2@see\fP タグが、\f2String\fP クラスの \f2equals\fP メソッドを参照しています。タグには、名前 \f2String#equals(Object)\fP とラベル \f2equals\fP の両方の引数が含まれています。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2098
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2099
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2100
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2101
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2102
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2103
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2104
 /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2105
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2106
  * @see String#equals(Object) equals
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2107
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2108
  */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2109
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2110
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2111
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2112
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2113
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2114
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2115
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2116
標準ドックレットは、次のような HTML を生成します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2117
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2118
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2119
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2120
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2121
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2122
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2123
<dl>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2124
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2125
<dt><b>See also:</b>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2126
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2127
<dd><a href="../../java/lang/String#equals(java.lang.Object)"><code>equals<code></a>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2128
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2129
</dl>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2130
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2131
            
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2132
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2133
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2134
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2135
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2136
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2137
これは、ブラウザでは次のように表示され、ラベルがリンクテキストになります。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2138
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2139
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2140
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2141
関連項目: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2142
equals 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2143
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2144
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2145
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2146
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2147
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2148
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2149
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2150
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2151
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2152
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2153
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2154
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2155
\f3名前の指定\fP \- このタグに指定する \f2package.class\fP\f2#\fP\f2member\fP という名前は、\f2java.lang.String#toUpperCase()\fP のように完全指定することも、\f2String#toUpperCase()\fP や \f2#toUpperCase()\fP のように部分的に指定することもできます。名前が完全指定されていない場合、Javadoc ツールは、Java コンパイラの通常の検索順序でその名前を検索します。詳細は、このあとの「@see の検索順序」を参照してください。名前には、メソッドの複数の引数の間など、括弧の内側であれば空白を含めることができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2156
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2157
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2158
「部分的に指定」した短い名前を指定することの利点は、入力する文字数が減ることや、ソースコードが読みやすくなることです。次の表に、さまざまな形式の名前を示します。 この表の中で、\f2Class\fP にはクラスまたはインタフェースを、\f2Type\fP にはクラス、インタフェース、配列、または基本データ型を、そして \f2method\fP にはメソッドまたはコンストラクタを指定できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2159
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2160
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2161
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2162
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2163
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2164
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2165
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2166
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2167
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2168
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2169
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2170
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2171
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2172
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2173
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2174
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2175
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2176
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2177
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2178
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2179
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2180
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2181
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2182
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2183
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2184
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2185
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2186
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2187
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2188
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2189
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2190
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2191
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2192
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2193
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2194
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2195
\f4@see\fP\f3\ \fP\f4package.class#member\fP\f3 の一般的な形式\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2196
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2197
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2198
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2199
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2200
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2201
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2202
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2203
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2204
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2205
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2206
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2207
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2208
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2209
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2210
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2211
\f3現在のクラスのメンバーを参照する\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2212
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2213
\f2@see\fP\ \f2#\fP\f2field\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2214
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2215
\f2@see\fP\ \f2#\fP\f2method(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2216
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2217
\f2@see\fP\ \f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2218
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2219
\f2@see\fP\ \f2#\fP\f2constructor(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2220
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2221
\f2@see\fP\ \f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2222
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2223
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2224
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2225
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2226
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2227
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2228
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2229
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2230
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2231
.di c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2232
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2233
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2234
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2235
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2236
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2237
\f3現在の、またはインポートされたパッケージの別のクラスを参照する\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2238
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2239
\f2@see\fP\ \f2Class\fP\f2#\fP\f2field\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2240
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2241
\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2242
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2243
\f2@see\fP\ \f2Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2244
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2245
\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2246
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2247
\f2@see\fP\ \f2Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2248
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2249
\f2@see\fP\ \f2Class.NestedClass\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2250
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2251
\f2@see\fP\ \f2Class\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2252
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2253
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2254
.nr c| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2255
.nr c- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2256
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2257
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2258
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2259
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2260
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2261
.di d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2262
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2263
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2264
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2265
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2266
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2267
\f3別のパッケージの要素を参照する\fP\ (完全修飾)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2268
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2269
\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2field\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2270
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2271
\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2272
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2273
\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2method(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2274
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2275
\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type,\ Type,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2276
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2277
\f2@see\fP\ \f2package.Class\fP\f2#\fP\f2constructor(Type\ argname,\ Type\ argname,...)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2278
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2279
\f2@see\fP\ \f2package.Class.NestedClass\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2280
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2281
\f2@see\fP\ \f2package.Class\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2282
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2283
\f2@see\fP\ \f2package\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2284
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2285
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2286
.nr d| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2287
.nr d- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2288
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2289
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2290
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2291
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2292
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2293
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2294
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2295
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2296
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2297
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2298
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2299
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2300
.nr 38 \n(c-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2301
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2302
.nr 38 \n(d-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2303
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2304
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2305
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2306
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2307
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2308
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2309
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2310
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2311
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2312
.if t .if \n(TW>\n(.li .tm Table at line 1861 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2313
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2314
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2315
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2316
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2317
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2318
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2319
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2320
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2321
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2322
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2323
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2324
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2325
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2326
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2327
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2328
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2329
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2330
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2331
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2332
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2333
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2334
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2335
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2336
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2337
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2338
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2339
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2340
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2341
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2342
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2343
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2344
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2345
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2346
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2347
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2348
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2349
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2350
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2351
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2352
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2353
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2354
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2355
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2356
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2357
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2358
.ne \n(c|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2359
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2360
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2361
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2362
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2363
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2364
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2365
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2366
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2367
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2368
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2369
.c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2370
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2371
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2372
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2373
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2374
.ne \n(d|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2375
.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2376
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2377
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2378
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2379
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2380
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2381
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2382
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2383
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2384
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2385
.d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2386
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2387
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2388
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2389
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2390
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2391
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2392
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2393
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2394
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2395
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2396
.rm c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2397
.rm d+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2398
.TE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2399
.if \n-(b.=0 .nr c. \n(.c-\n(d.-58
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2400
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2401
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2402
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2403
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2404
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2405
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2406
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2407
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2408
上の表に対する補足事項を次に示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2409
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2410
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2411
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2412
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2413
最初の種類の形式 (パッケージとクラスを省略) の場合、Javadoc ツールは、現在のクラスの階層だけを検索します。つまり、現在のクラスかインタフェース、そのスーパークラスかスーパーインタフェース、または現在のクラスかインタフェースを囲んでいるクラスかインタフェースからメンバーを検索します (このあとの検索手順 1 〜 3)。現在のパッケージのほかの部分や、ほかのパッケージは検索しません (検索手順 4 〜 5)。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2414
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2415
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2416
メソッドまたはコンストラクタを指定するときに括弧を付けずに名前だけ (\f2getValue\fP など) を使用した場合、同じ名前のフィールドが存在しなければ、Javadoc ツールはそのメソッドに対して正しくリンクを作成します。 ただし、括弧と引数を追加するように促す警告メッセージを出力します。このメソッドがオーバーロードされている場合、Javadoc ツールは、検索で最初に見つかったメソッドにリンクします。 結果は前もって特定できません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2417
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2418
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2419
入れ子にされたクラスは、上記のどの形式の場合も、単に「\f2inner\fP」ではなく、「\f2outer\fP\f2.\fP\f2inner\fP」として指定しなければなりません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2420
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2421
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2422
すでに述べたとおり、クラスとメンバーを区切るために、ドット (\f2.\fP) ではなくシャープ記号 (\f2#\fP) を使用することに注意してください。このように指定すると、Javadoc ツールは、あいまいさを解決できます。 ドットは、クラス、入れ子にされたクラス、パッケージ、およびサブパッケージを区切るためにも使用されます。ただし、Javadoc ツールでは一般に許容範囲が広く、あいまいさがなければ、ドットでも正しく解析されます。 その場合でも警告は表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2423
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2424
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2425
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2426
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2427
\f3@see の検索順序\fP \- Javadoc ツールは、ソースファイル (.java)、パッケージファイル (package.html または package\-info.java)、または概要ファイル (overview.html) の中に登場する \f2@see\fP タグを処理します。後者の 2 つのファイルでは、完全指定の名前を \f2@see\fP タグに指定しなければなりません。ソースファイルでは、完全指定の名前、または部分指定の名前を指定できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2428
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2429
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2430
Javadoc ツールは、\f2.java\fP ファイル内で完全指定でない名前が記述された \f2@see\fP タグを見つけると、Java コンパイラと同じ順序で指定された名前を検索します。 ただし、Javadoc ツールは、特定の名前空間のあいまいさを検出しません。 これは、ソースコードにこれらのエラーが存在していないことを前提としているためです。この検索順序は、Java 言語仕様第 2 版の第 6 章「Names」で正式に定義されています。Javadoc ツールは、関連するクラスとパッケージ、およびインポートされたクラスとパッケージのすべてから名前を検索します。具体的には、次の順序で検索します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2431
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2432
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2433
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2434
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2435
現在のクラスまたはインタフェース 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2436
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2437
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2438
外側を囲んでいるクラスとインタフェース (もっとも近いものから検索) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2439
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2440
3.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2441
スーパークラスとスーパーインタフェース (もっとも近いものから検索) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2442
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2443
4.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2444
現在のパッケージ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2445
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2446
5.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2447
インポートされているパッケージ、クラス、およびインタフェース (import 文の順序に従って検索) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2448
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2449
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2450
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2451
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2452
Javadoc ツールは、各クラスについて手順 1 〜 3 を再帰的に適用しながら、一致する名前が見つかるまで検索を続けます。つまり、まず現在のクラスを検索し、次にそのクラスを囲んでいるクラス E を検索し、その次に E のスーパークラスを検索し、さらにその次に E を囲んでいるクラスを検索します。 手順 4 と 5 では、1 つのパッケージ内のクラスまたはインタフェースを検索する順序は決まっていません。 その順序は、個々のコンパイラによって異なります。手順 5 では、Javadoc ツールは、java.lang を検索します。 このパッケージは、すべてのプログラムに自動的にインポートされるからです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2453
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2454
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2455
Javadoc ツールは、必ずしもサブクラスを検索するとは限りません。 また、javadoc の実行中にほかのパッケージのドキュメントが生成される場合でも、ほかのパッケージを検索しません。たとえば、\f2@see\fP タグが \f2java.awt.event.KeyEvent\fP クラス内にあって、\f2java.awt\fP パッケージにある名前を参照している場合、Javadoc は、そのクラスがインポートしないかぎりそのパッケージを検索しません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2456
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2457
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2458
\f3名前が表示される方法\fP \- \f2label\fP を省略すると、\f2package.class.member\fP が表示されます。一般に、package.class.member は、現在のクラスおよびパッケージに応じて適切に短縮されます。「短縮される」とは、必要最小限の名前だけが表示されるということです。たとえば、\f2String.toUpperCase()\fP メソッドに、同じクラスのメンバーへの参照とほかのクラスのメンバーへの参照が含まれている場合、クラス名が表示されるのは後者のケースだけです (次の表を参照)。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2459
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2460
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2461
パッケージ名を広域的に削除するには、\-noqualifier を使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2462
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2463
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2464
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2465
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2466
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2467
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2468
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2469
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2470
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2471
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2472
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2473
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2474
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2475
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2476
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2477
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2478
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2479
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2480
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2481
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2482
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2483
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2484
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2485
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2486
.rm 80 81 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2487
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2488
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2489
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2490
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2491
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2492
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2493
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2494
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2495
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2496
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2497
\f4String.toUpperCase()\fP\f3 での例\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2498
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2499
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2500
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2501
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2502
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2503
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2504
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2505
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2506
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2507
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2508
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2509
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2510
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2511
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2512
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2513
\f2@see\fP タグが同じクラスのメンバーを参照している
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2514
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2515
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2516
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2517
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2518
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2519
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2520
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2521
.am 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2522
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2523
.di c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2524
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2525
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2526
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2527
.if \n(.l<\n(82 .ll \n(82u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2528
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2529
\f2toLowerCase()\fP (クラス名は省略)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2530
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2531
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2532
.nr c| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2533
.nr c- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2534
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2535
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2536
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2537
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2538
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2539
.di d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2540
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2541
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2542
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2543
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2544
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2545
\f2@see\fP タグが別のクラスのメンバーを参照している
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2546
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2547
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2548
.nr d| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2549
.nr d- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2550
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2551
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2552
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2553
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2554
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2555
.di e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2556
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2557
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2558
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2559
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2560
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2561
\f2@see Character#toLowerCase(char)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2562
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2563
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2564
.nr e| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2565
.nr e- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2566
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2567
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2568
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2569
.am 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2570
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2571
.di f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2572
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2573
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2574
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2575
.if \n(.l<\n(82 .ll \n(82u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2576
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2577
\f2Character.toLowerCase(char)\fP (パッケージ名は省略し、クラス名を含む)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2578
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2579
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2580
.nr f| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2581
.nr f- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2582
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2583
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2584
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2585
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2586
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2587
.di g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2588
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2589
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2590
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2591
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2592
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2593
\f2@see\fP タグが別のクラスのメンバーを参照している
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2594
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2595
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2596
.nr g| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2597
.nr g- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2598
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2599
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2600
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2601
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2602
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2603
.di h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2604
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2605
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2606
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2607
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2608
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2609
\f2@see java.io.File#exists()\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2610
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2611
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2612
.nr h| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2613
.nr h- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2614
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2615
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2616
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2617
.am 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2618
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2619
.di i+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2620
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2621
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2622
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2623
.if \n(.l<\n(82 .ll \n(82u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2624
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2625
\f2java.io.File.exists()\fP (パッケージ名とクラス名を含む)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2626
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2627
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2628
.nr i| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2629
.nr i- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2630
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2631
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2632
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2633
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2634
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2635
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2636
.nr 38 \w\f3参照の種類\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2637
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2638
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2639
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2640
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2641
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2642
.nr 38 \n(d-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2643
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2644
.nr 38 \n(g-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2645
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2646
.nr 81 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2647
.nr 38 \w\f2@see String#toLowerCase()\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2648
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2649
.81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2650
.rm 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2651
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2652
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2653
.nr 38 \n(e-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2654
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2655
.nr 38 \n(h-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2656
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2657
.nr 82 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2658
.nr 38 \w\f3表示される名前\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2659
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2660
.82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2661
.rm 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2662
.nr 38 \n(c-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2663
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2664
.nr 38 \n(f-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2665
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2666
.nr 38 \n(i-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2667
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2668
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2669
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2670
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2671
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2672
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2673
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2674
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2675
.nr 41 \n(80+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2676
.nr 81 +\n(41
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2677
.nr 42 \n(81+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2678
.nr 82 +\n(42
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2679
.nr TW \n(82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2680
.if t .if \n(TW>\n(.li .tm Table at line 1959 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2681
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2682
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2683
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2684
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2685
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2686
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2687
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2688
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2689
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2690
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2691
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2692
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2693
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2694
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2695
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2696
.ta \n(80u \n(81u \n(82u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2697
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2698
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2699
\&\h'|\n(40u'\f3参照の種類\fP\h'|\n(41u'\h'|\n(42u'\f3表示される名前\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2700
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2701
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2702
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2703
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2704
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2705
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2706
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2707
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2708
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2709
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2710
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2711
.ne \n(c|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2712
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2713
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2714
.ta \n(80u \n(81u \n(82u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2715
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2716
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2717
\&\h'|\n(40u'\h'|\n(41u'\f2@see String#toLowerCase()\fP\h'|\n(42u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2718
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2719
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2720
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2721
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2722
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2723
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2724
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2725
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2726
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2727
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2728
.nr 37 \n(42u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2729
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2730
.c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2731
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2732
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2733
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2734
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2735
.ne \n(d|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2736
.ne \n(e|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2737
.ne \n(f|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2738
.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2739
.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2740
.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2741
.ta \n(80u \n(81u \n(82u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2742
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2743
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2744
\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2745
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2746
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2747
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2748
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2749
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2750
.d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2751
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2752
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2753
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2754
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2755
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2756
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2757
.e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2758
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2759
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2760
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2761
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2762
.nr 37 \n(42u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2763
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2764
.f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2765
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2766
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2767
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2768
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2769
.ne \n(g|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2770
.ne \n(h|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2771
.ne \n(i|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2772
.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2773
.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2774
.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2775
.ta \n(80u \n(81u \n(82u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2776
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2777
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2778
\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2779
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2780
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2781
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2782
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2783
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2784
.g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2785
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2786
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2787
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2788
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2789
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2790
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2791
.h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2792
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2793
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2794
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2795
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2796
.nr 37 \n(42u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2797
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2798
.i+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2799
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2800
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2801
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2802
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2803
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2804
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2805
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2806
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2807
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2808
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2809
.rm c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2810
.rm d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2811
.rm e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2812
.rm f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2813
.rm g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2814
.rm h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2815
.rm i+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2816
.TE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2817
.if \n-(b.=0 .nr c. \n(.c-\n(d.-28
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2818
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2819
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2820
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2821
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2822
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2823
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2824
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2825
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2826
\f3@see の例\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2827
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2828
右側のコメントは、\f2@see\fP タグが別のパッケージ (\f2java.applet.Applet\fP など) のクラス内にある場合に、名前がどのように表示されるかを示しています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2829
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2830
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2831
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2832
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2833
                                           関連項目: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2834
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2835
@see java.lang.String                   //  String                          \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2836
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2837
@see java.lang.String The String class  //  The String class                \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2838
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2839
@see String                             //  String                          \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2840
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2841
@see String#equals(Object)              //  String.equals(Object)           \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2842
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2843
@see String#equals                      //  String.equals(java.lang.Object) \fP\f3  
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2844
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2845
@see java.lang.Object#wait(long)        //  java.lang.Object.wait(long)     \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2846
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2847
@see Character#MAX_RADIX                //  Character.MAX_RADIX             \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2848
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2849
@see <a href="spec.html">Java Spec</a>  //  Java Spec           \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2850
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2851
@see "The Java Programming Language"    //  "The Java Programming Language"        \fP\f3 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2852
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2853
          
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2854
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2855
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2856
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2857
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2858
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2859
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2860
\f2@see\fP を、ドキュメント化の対象にしていないクラスにまで拡張するには、\f2\-link\fP オプションを使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2861
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2862
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2863
詳細については、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2864
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2865
\f2@see タグのドキュメント\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2866
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2867
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@seeを参照してください。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2868
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2869
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2870
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2871
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2872
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2873
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2874
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2875
@serial\  field\-description | include | exclude 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2876
デフォルトの直列化可能フィールドのドキュメンテーションコメントで使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2877
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2878
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2879
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2880
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2881
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2882
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2883
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2884
\f2field\-description\fP (省略可能) では、フィールドの意味を説明し、取り得る値のリストを示す必要があります。必要に応じて、複数の行に渡って説明を記述できます。標準ドックレットは、この情報を、直列化された形式のページに追加します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2885
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2886
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2887
クラスを直列化したあとしばらくしてから直列化可能フィールドをクラスに追加した場合、主説明に、追加したバージョンを識別する文を追加する必要があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2888
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2889
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2890
\f2include\fP および \f2exclude\fP 引数は、直列化された形式のページにクラスまたはパッケージを含めるか除外するかを示します。これらの引数には、次のような効果があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2891
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2892
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2893
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2894
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2895
\f2Serializable\fP を実装している public または protected クラスは、通常はそのページに含められます。 ただし、そのクラスまたはそのクラスが属するパッケージが \f2@serial exclude\fP で指定されていると、そのページから除外されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2896
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2897
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2898
\f2Serializable\fP を実装している private または package private クラスは、通常はそのページから除外されます。 ただし、そのクラスまたはそのクラスが属するパッケージが \f2@serial include\fP で指定されていると、そのページに含められます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2899
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2900
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2901
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2902
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2903
例: \f2javax.swing\fP パッケージは、\f2@serial exclude\fP で指定されています (\f2package.html\fP または \f2package\-info.java\fP 内)。public クラス \f2java.security.BasicPermission\fP は、\f2@serial exclude\fP で指定されています。package private クラス \f2java.util.PropertyPermissionCollection\fP は、\f2@serial include\fP で指定されています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2904
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2905
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2906
クラスレベルで指定された @serial タグは、パッケージレベルで指定された @serial タグをオーバーライドします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2907
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2908
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2909
これらのタグの使用法についての詳細と使用例は、「Java オブジェクト直列化仕様」の第 1.6 節
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2910
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2911
\f2「クラスの直列化可能なフィールドおよびデータの文書化」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2912
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2913
http://java.sun.com/javase/6/docs/platform/serialization/spec/serial\-arch.htmlを参照してください。また、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2914
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2915
\f2「直列化の FAQ」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2916
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2917
http://java.sun.com/products/jdk/serialization/faq/#javadoc_warn_missingも参照してください。 この FAQ には、「\-private スイッチを指定しないで javadoc を実行しているのに private フィールドの @serial タグが見つからないという javadoc の警告が表示される」などの一般的な質問への回答が記載されています。直列化形式仕様にクラスを含める場合には、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2918
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2919
\f2「Sun の仕様」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2920
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2921
http://java.sun.com/j2se/javadoc/writingapispecs/serialized\-criteria.htmlも参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2922
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2923
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2924
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2925
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2926
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2927
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2928
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2929
@serialField\  field\-name\  field\-type\  field\-description 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2930
\f2Serializable\fP クラスの \f2serialPersistentFields\fP メンバーの \f2ObjectStreamField\fP コンポーネントをドキュメント化します。各 \f2ObjectStreamField\fP コンポーネントに対して \f2@serialField\fP タグを 1 つ使う必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2931
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2932
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2933
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2934
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2935
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2936
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2937
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2938
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2939
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2940
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2941
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2942
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2943
@serialData\  data\-description 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2944
\f2data\-description\fP は、直列化された形式でのデータの型と順序を説明するテキストです。このデータには、特に、\f2writeObject\fP メソッドによって書き込まれる省略可能なデータ、および \f2Externalizable.writeExternal\fP メソッドによって書き込まれるすべてのデータ (基底クラスを含む) が含まれます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2945
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2946
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2947
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2948
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2949
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2950
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2951
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2952
\f2@serialData\fP タグは、\f2writeObject\fP、\f2readObject\fP、\f2writeExternal\fP、\f2readExternal\fP、\f2writeReplace\fP、および \f2readResolve\fP メソッドのドキュメンテーションコメントで使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2953
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2954
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2955
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2956
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2957
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2958
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2959
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2960
@since\  since\-text 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2961
生成ドキュメントに [導入されたバージョン] 見出しを追加し、指定された \f2since\-text\fP を書き込みます。このテキストには、特別な内部構造はありません。このタグは、すべてのドキュメンテーションコメント、つまり概要、パッケージ、クラス、インタフェース、コンストラクタ、メソッド、およびフィールドで有効です。このタグは、特定の変更または機能が、\f2since\-text\fP に示されたソフトウェアリリース以降、存在していることを意味します。例を示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2962
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2963
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2964
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2965
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2966
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2967
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2968
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2969
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2970
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2971
    @since 1.5
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2972
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2973
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2974
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2975
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2976
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2977
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2978
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2979
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2980
Java プラットフォームのソースコードの場合、このタグは、Java プラットフォーム API 仕様のバージョンを示します。 その変更や機能がリファレンス実装に追加された時期を示すとは限りません。複数の @since タグを使用でき、複数の @author タグのように扱われます。プログラム要素が複数の API で使用される場合、複数のタグを使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2981
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2982
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2983
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2984
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2985
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2986
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2987
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2988
@throws\  class\-name\  description\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2989
\f2@throws\fP タグと \f2@exception\fP タグは同義です。生成ドキュメントに [例外] 小見出しを追加して、\f2class\-name\fP と \f2description\fP テキストを書き込みます。\f2class\-name\fP は、そのメソッドからスローされる可能性のある例外の名前です。このタグは、メソッド、コンストラクタの doc コメント内でのみ有効です。このクラスが完全指定の名前で記述されていない場合、Javadoc ツールは、検索順序に従ってクラスを探します。同じまたは異なる例外の doc コメントで、複数の \f2@throws\fP タグを使用できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2990
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2991
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2992
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2993
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2994
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2995
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2996
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2997
すべてのチェック済み例外がドキュメント化されるようにするために、\f2@throws\fP タグが throws 節内の例外用に存在しない場合は、@throws タグのあるドキュメントであるかのように、Javadoc ツールによって例外が HTML 出力に説明なしで自動的に追加されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2998
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  2999
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3000
オーバーライドされるメソッド内で例外が明示的に宣言されている場合のみ、\f2@throws\fP ドキュメンテーションをそのメソッドからサブクラスにコピーされます。インタフェースメソッドから実装メソッドにコピーされる場合も同様です。@throws にドキュメンテーションを継承させるには、{@inheritDoc} を使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3001
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3002
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3003
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3004
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3005
\f2@throws タグのドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3006
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3007
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@exceptionを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3008
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3009
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3010
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3011
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3012
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3013
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3014
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3015
{@value\  package.class#field} 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3016
\f2{@value}\fP が静的フィールドの doc コメントで 引数なしで使用されている場合、その定数の値が表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3017
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3018
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3019
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3020
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3021
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3022
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3023
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3024
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3025
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3026
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3027
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3028
     * The value of this constant is {@value}.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3029
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3030
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3031
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3032
    public static final String SCRIPT_START = "<script>"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3033
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3034
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3035
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3036
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3037
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3038
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3039
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3040
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3041
任意の doc コメント内で引数 \f2package.class#field\fP ありで使用されている場合は、指定した定数の値が表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3042
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3043
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3044
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3045
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3046
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3047
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3048
     * Evaluates the script starting with {@value #SCRIPT_START}.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3049
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3050
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3051
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3052
    public String evalScript(String script) {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3053
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3054
    }
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3055
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3056
        
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3057
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3058
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3059
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3060
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3061
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3062
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3063
引数 \f2package.class#field\fP は、@see 引数と同一の形式になります。ただし、メンバーが静的フィールドになければならない点が異なります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3064
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3065
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3066
これらの定数での値は、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3067
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3068
\f2定数フィールド値\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3069
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3070
http://java.sun.com/javase/6/docs/api/constant\-values.htmlページにも表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3071
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3072
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3073
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3074
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3075
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3076
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3077
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3078
@version\  version\-text 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3079
\-version オプションが使われている場合、生成ドキュメントに [バージョン] 小見出しを追加して、指定された \f2version\-text\fP を書き込みます。このタグは、このコードが含まれるソフトウェアの現在のバージョン番号を保持するように意図されています。 これに対し、@since は、このコードが導入されたバージョン番号を保持します。\f2version\-text\fP には、特別な内部構造はありません。バージョンタグを使用できる場所を調べるには、「タグを使用できる場所」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3080
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3081
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3082
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3083
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3084
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3085
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3086
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3087
1 つのドキュメンテーションコメントに複数の \f2@version\fP タグを含めることができます。必要に応じて、\f2@version\fP タグごとに 1 つのバージョン番号を指定することも、タグごとに複数のバージョン番号を指定することもできます。前者の場合は、Javadoc ツールによって、名前と名前の間にコンマ (\f2,\fP) とスペースが挿入されます。後者の場合は、テキスト全体が、解析されることなく、生成ドキュメントにそのままコピーされます。したがって、コンマではなく、各言語に対応した名前区切り文字を使う必要があるときは、1 つのタグに複数の名前を指定してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3088
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3089
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3090
詳細については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3091
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3092
\f2@version タグのドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3093
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3094
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#@versionを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3095
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3096
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3097
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3098
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3099
タグを使用できる場所
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3100
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3101
ここでは、タグを使用できる場所について説明します。\f2@see\fP、\f2@since\fP、\f2@deprecated\fP、\f2{@link}\fP、\f2{@linkplain}\fP および \f2{@docroot}\fP のタグは、すべての doc コメントで使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3102
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3103
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3104
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3105
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3106
概要のドキュメンテーションタグ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3107
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3108
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3109
概要タグは、概要ページのドキュメンテーションコメントで使用できるタグです。 このドキュメンテーションコメントは、通常 \f2overview.html\fP という名前ソースファイル内にあります。ほかのドキュメンテーションコメントの場合と同様に、これらのタグは、主説明のあとで使う必要があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3110
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3111
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3112
\f3注\fP \- バージョン 1.2 では、概要ドキュメント内の \f2{@link}\fP タグにバグがあります。テキストは正しく表示されますが、リンクが設定されません。現在のところ、\f2{@docRoot}\fP タグは、概要ドキュメント内では動作しません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3113
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3114
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3115
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3116
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3117
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3118
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3119
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3120
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3121
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3122
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3123
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3124
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3125
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3126
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3127
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3128
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3129
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3130
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3131
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3132
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3133
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3134
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3135
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3136
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3137
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3138
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3139
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3140
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3141
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3142
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3143
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3144
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3145
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3146
\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3147
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3148
\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3149
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3150
\f2@author\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3151
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3152
\f2@version\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3153
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3154
\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3155
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3156
\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3157
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3158
\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3159
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3160
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3161
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3162
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3163
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3164
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3165
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3166
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3167
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3168
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3169
.nr 38 \w\f3概要タグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3170
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3171
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3172
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3173
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3174
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3175
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3176
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3177
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3178
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3179
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3180
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3181
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3182
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3183
.if t .if \n(TW>\n(.li .tm Table at line 2280 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3184
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3185
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3186
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3187
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3188
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3189
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3190
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3191
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3192
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3193
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3194
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3195
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3196
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3197
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3198
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3199
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3200
\&\h'|\n(40u'\f3概要タグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3201
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3202
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3203
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3204
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3205
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3206
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3207
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3208
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3209
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3210
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3211
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3212
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3213
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3214
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3215
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3216
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3217
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3218
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3219
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3220
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3221
.rm a+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3222
.TE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3223
.if \n-(b.=0 .nr c. \n(.c-\n(d.-20
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3224
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3225
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3226
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3227
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3228
パッケージドキュメンテーションタグ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3229
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3230
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3231
パッケージタグは、パッケージのドキュメンテーションコメントで使用できるタグです。 このドキュメンテーションコメントは、\f2package.html\fP または \f2package\-info.java\fP という名前のソースファイル内にあります。ここで使用できる \f2@serial\fP タグは、\f2include\fP または \f2exclude\fP 引数を指定したものだけです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3232
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3233
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3234
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3235
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3236
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3237
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3238
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3239
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3240
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3241
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3242
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3243
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3244
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3245
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3246
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3247
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3248
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3249
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3250
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3251
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3252
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3253
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3254
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3255
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3256
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3257
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3258
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3259
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3260
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3261
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3262
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3263
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3264
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3265
\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3266
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3267
\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3268
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3269
\f2@serial\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3270
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3271
\f2@author\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3272
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3273
\f2@version\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3274
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3275
\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3276
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3277
\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3278
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3279
\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3280
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3281
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3282
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3283
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3284
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3285
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3286
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3287
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3288
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3289
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3290
.nr 38 \w\f3パッケージタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3291
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3292
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3293
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3294
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3295
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3296
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3297
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3298
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3299
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3300
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3301
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3302
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3303
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3304
.if t .if \n(TW>\n(.li .tm Table at line 2316 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3305
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3306
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3307
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3308
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3309
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3310
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3311
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3312
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3313
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3314
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3315
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3316
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3317
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3318
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3319
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3320
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3321
\&\h'|\n(40u'\f3パッケージタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3322
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3323
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3324
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3325
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3326
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3327
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3328
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3329
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3330
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3331
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3332
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3333
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3334
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3335
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3336
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3337
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3338
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3339
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3340
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3341
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3342
.rm a+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3343
.TE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3344
.if \n-(b.=0 .nr c. \n(.c-\n(d.-22
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3345
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3346
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3347
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3348
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3349
クラスおよびインタフェースドキュメンテーションタグ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3350
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3351
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3352
次に、クラスまたはインタフェースのドキュメンテーションコメントで使用できるタグを示します。ここで使用できる \f2@serial\fP タグは、\f2include\fP または \f2exclude\fP 引数を指定したものだけです。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3353
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3354
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3355
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3356
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3357
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  3358
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3359
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3360
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3361
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3362
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3363
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3364
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3365
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3366
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3367
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3368
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3369
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3370
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3371
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3372
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3373
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3374
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3375
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3376
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3377
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3378
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3379
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3380
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3381
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3382
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3383
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3384
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3385
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3386
\f3クラスおよびインタフェースタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3387
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3388
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3389
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3390
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3391
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3392
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3393
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3394
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3395
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3396
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3397
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3398
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3399
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3400
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3401
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3402
\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3403
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3404
\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3405
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3406
\f2@deprecated\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3407
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3408
\f2@serial\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3409
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3410
\f2@author\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3411
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3412
\f2@version\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3413
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3414
\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3415
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3416
\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3417
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3418
\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3419
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3420
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3421
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3422
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3423
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3424
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3425
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3426
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3427
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3428
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3429
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3430
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3431
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3432
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3433
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3434
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3435
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3436
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3437
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3438
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3439
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3440
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3441
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3442
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3443
.if t .if \n(TW>\n(.li .tm Table at line 2356 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3444
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3445
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3446
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3447
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3448
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3449
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3450
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3451
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3452
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3453
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3454
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3455
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3456
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3457
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3458
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3459
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3460
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3461
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3462
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3463
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3464
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3465
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3466
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3467
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3468
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3469
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3470
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3471
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3472
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3473
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3474
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3475
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3476
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3477
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3478
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3479
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3480
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3481
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3482
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3483
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3484
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3485
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3486
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3487
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3488
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3489
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3490
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3491
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3492
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3493
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3494
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3495
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3496
.if \n-(b.=0 .nr c. \n(.c-\n(d.-26
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3497
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3498
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3499
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3500
\f3次にクラスコメントの例を示します。\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3501
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3502
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3503
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3504
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3505
/**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3506
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3507
 * A class representing a window on the screen.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3508
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3509
 * For example:
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3510
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3511
 * <pre>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3512
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3513
 *    Window win = new Window(parent);
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3514
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3515
 *    win.show();
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3516
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3517
 * </pre>
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3518
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3519
 *
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3520
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3521
 * @author  Sami Shaio
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3522
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3523
 * @version 1.13, 06/08/06
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3524
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3525
 * @see     java.awt.BaseWindow
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3526
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3527
 * @see     java.awt.Button
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3528
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3529
 */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3530
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3531
class Window extends BaseWindow {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3532
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3533
   ...
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3534
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3535
}
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3536
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3537
  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3538
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3539
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3540
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3541
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3542
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3543
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3544
フィールドドキュメンテーションタグ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3545
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3546
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3547
次に、フィールドのドキュメンテーションコメントで使用できるタグを示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3548
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3549
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3550
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3551
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3552
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3553
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3554
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3555
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3556
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3557
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3558
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3559
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3560
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3561
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3562
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3563
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3564
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3565
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3566
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3567
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3568
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3569
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3570
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3571
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3572
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3573
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3574
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3575
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3576
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3577
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3578
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3579
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3580
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3581
\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3582
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3583
\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3584
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3585
\f2@deprecated\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3586
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3587
\f2@serial\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3588
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3589
\f2@serialField\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3590
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3591
\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3592
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3593
\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3594
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3595
\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3596
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3597
\f2{@value}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3598
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3599
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3600
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3601
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3602
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3603
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3604
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3605
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3606
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3607
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3608
.nr 38 \w\f3フィールドタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3609
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3610
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3611
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3612
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3613
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3614
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3615
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3616
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3617
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3618
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3619
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3620
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3621
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3622
.if t .if \n(TW>\n(.li .tm Table at line 2437 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3623
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3624
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3625
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3626
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3627
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3628
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3629
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3630
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3631
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3632
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3633
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3634
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3635
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3636
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3637
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3638
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3639
\&\h'|\n(40u'\f3フィールドタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3640
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3641
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3642
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3643
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3644
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3645
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3646
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3647
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3648
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3649
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3650
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3651
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3652
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3653
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3654
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3655
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3656
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3657
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3658
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3659
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3660
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3661
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3662
.if \n-(b.=0 .nr c. \n(.c-\n(d.-24
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3663
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3664
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3665
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3666
\f3次にフィールドコメントの例を示します。\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3667
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3668
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3669
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3670
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3671
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3672
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3673
     * The X\-coordinate of the component.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3674
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3675
     *
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3676
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3677
     * @see #getLocation()
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3678
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3679
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3680
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3681
    int x = 1263732;
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3682
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3683
  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3684
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3685
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3686
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3687
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3688
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3689
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3690
コンストラクタおよびメソッドドキュメンテーションタグ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3691
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3692
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3693
次に、コンストラクタまたはメソッドのドキュメンテーションコメント内で表示できるタグを示します。 ただし、\f2@return\fP はコンストラクタでは表示できず、\f2{@inheritDoc}\fP は表示に制限があります。\f2@serialData\fP タグは特定の直列化メソッドの doc コメントでのみ使用できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3694
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3695
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3696
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3697
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3698
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3699
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3700
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3701
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3702
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3703
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3704
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3705
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3706
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3707
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3708
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3709
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3710
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3711
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3712
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3713
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3714
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3715
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3716
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3717
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3718
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3719
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3720
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3721
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3722
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3723
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3724
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3725
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3726
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3727
\f3メソッドおよびコンストラクタタグ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3728
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3729
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3730
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3731
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3732
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3733
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3734
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3735
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3736
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3737
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3738
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3739
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3740
.ll \n(34u*1u/2u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3741
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3742
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3743
\f2@see\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3744
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3745
\f2@since\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3746
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3747
\f2@deprecated\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3748
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3749
\f2@param\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3750
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3751
\f2@return\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3752
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3753
\f2@throws\fP と \f2@exception\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3754
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3755
\f2@serialData\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3756
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3757
\f2{@link}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3758
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3759
\f2{@linkplain}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3760
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3761
\f2{@inheritDoc}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3762
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3763
\f2{@docRoot}\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3764
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3765
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3766
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3767
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3768
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3769
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3770
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3771
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3772
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3773
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3774
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3775
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3776
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3777
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3778
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3779
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3780
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3781
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3782
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3783
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3784
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3785
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3786
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3787
.nr TW \n(80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3788
.if t .if \n(TW>\n(.li .tm Table at line 2504 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3789
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3790
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3791
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3792
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3793
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3794
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3795
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3796
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3797
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3798
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3799
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3800
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3801
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3802
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3803
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3804
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3805
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3806
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3807
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3808
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3809
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3810
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3811
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3812
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3813
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3814
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3815
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3816
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3817
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3818
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3819
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3820
.ta \n(80u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3821
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3822
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3823
\&\h'|\n(40u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3824
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3825
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3826
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3827
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3828
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3829
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3830
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3831
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3832
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3833
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3834
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3835
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3836
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3837
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3838
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3839
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3840
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3841
.if \n-(b.=0 .nr c. \n(.c-\n(d.-30
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3842
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3843
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3844
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3845
\f3次にメソッドのドキュメンテーションコメントの例を示します。\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3846
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3847
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3848
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3849
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3850
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3851
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3852
     * Returns the character at the specified index. An index 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3853
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3854
     * ranges from <code>0</code> to <code>length() \- 1</code>.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3855
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3856
     *
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3857
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3858
     * @param     index  the index of the desired character.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3859
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3860
     * @return    the desired character.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3861
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3862
     * @exception StringIndexOutOfRangeException 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3863
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3864
     *              if the index is not in the range <code>0</code> 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3865
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3866
     *              to <code>length()\-1</code>.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3867
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3868
     * @see       java.lang.Character#charValue()
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3869
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3870
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3871
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3872
    public char charAt(int index) {
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3873
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3874
       ...
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3875
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3876
    }
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3877
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3878
  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3879
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3880
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3881
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3882
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3883
.SH "オプション"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3884
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3885
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3886
javadoc ツールは、ドックレットを使って出力を決定します。Javadoc ツールは、\-doclet オプションでカスタムドックレットが指定されている場合以外は、デフォルトの標準ドックレットを使います。Javadoc ツールには、任意のドックレットとともに使用できるコマンド行オプションがあります。 これらのオプションについては、このあとの「Javadoc オプション」で説明します。標準ドックレットでは、このほかに、いくつかの追加のコマンド行オプションが提供されます。 これらのオプションについては、そのあとの「標準ドックレットが提供するオプション」で説明します。どのオプション名も、大文字と小文字が区別されません。 ただし、オプションの引数では、大文字と小文字が区別されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3887
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3888
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3889
オプションを次に示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3890
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3891
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3892
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3893
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3894
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3895
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3896
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3897
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3898
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3899
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3900
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3901
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3902
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3903
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3904
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3905
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3906
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3907
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3908
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3909
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3910
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3911
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3912
.rm 80 81 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3913
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3914
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3915
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3916
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3917
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3918
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3919
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3920
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3921
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3922
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3923
\-\f21.1\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3924
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3925
\-author
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3926
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3927
\-\f2bootclasspath\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3928
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3929
\-bottom
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3930
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3931
\-\f2breakiterator\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3932
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3933
\-charset
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3934
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3935
\-\f2classpath\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3936
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3937
\-d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3938
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3939
\-docencoding
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3940
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3941
\-docfilessubdirs
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3942
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3943
\-\f2doclet\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3944
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3945
\-\f2docletpath\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3946
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3947
\-doctitle
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3948
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3949
\-\f2encoding\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3950
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3951
\-\f2exclude\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3952
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3953
\-excludedocfilessubdir
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3954
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3955
\-\f2extdirs\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3956
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3957
\-footer
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3958
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3959
\-group
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3960
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3961
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3962
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3963
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3964
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3965
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3966
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3967
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3968
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3969
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3970
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3971
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3972
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3973
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3974
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3975
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3976
\-header
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3977
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3978
\-\f2help\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3979
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3980
\-helpfile
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3981
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3982
\-\f2J\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3983
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3984
\-keywords
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3985
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3986
\-link
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3987
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3988
\-linkoffline
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3989
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3990
\-linksource
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3991
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3992
\-\f2locale\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3993
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3994
\-nocomment
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3995
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3996
\-nodeprecated
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3997
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3998
\-nodeprecatedlist
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  3999
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4000
\-nohelp
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4001
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4002
\-noindex
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4003
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4004
\-nonavbar
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4005
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4006
\-noqualifier
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4007
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4008
\-nosince
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4009
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4010
\-notimestamp
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4011
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4012
\-notree
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4013
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4014
\-\f2overview\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4015
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4016
\-\f2package\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4017
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4018
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4019
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4020
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4021
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4022
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4023
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4024
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4025
.am 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4026
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4027
.di c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4028
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4029
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4030
.ll \n(34u*1u/4u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4031
.if \n(.l<\n(82 .ll \n(82u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4032
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4033
\-\f2private\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4034
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4035
\-\f2protected\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4036
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4037
\-\f2public\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4038
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4039
\-\f2quiet\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4040
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4041
\-serialwarn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4042
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4043
\-\f2source\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4044
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4045
\-\f2sourcepath\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4046
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4047
\-splitindex
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4048
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4049
\-stylesheetfile
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4050
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4051
\-\f2subpackages\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4052
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4053
\-tag
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4054
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4055
\-taglet
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4056
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4057
\-tagletpath
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4058
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4059
\-title
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4060
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4061
\-use
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4062
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4063
\-\f2verbose\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4064
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4065
\-version
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4066
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4067
\-windowtitle
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4068
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4069
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4070
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4071
.nr c| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4072
.nr c- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4073
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4074
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4075
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4076
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4077
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4078
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4079
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4080
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4081
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4082
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4083
.nr 81 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4084
.81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4085
.rm 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4086
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4087
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4088
.nr 82 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4089
.82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4090
.rm 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4091
.nr 38 \n(c-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4092
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4093
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4094
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4095
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4096
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4097
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4098
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4099
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4100
.nr 41 \n(80+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4101
.nr 81 +\n(41
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4102
.nr 42 \n(81+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4103
.nr 82 +\n(42
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4104
.nr TW \n(82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4105
.if t .if \n(TW>\n(.li .tm Table at line 2681 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4106
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4107
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4108
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4109
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4110
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4111
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4112
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4113
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4114
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4115
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4116
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4117
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4118
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4119
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4120
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4121
.ne \n(c|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4122
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4123
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4124
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4125
.ta \n(80u \n(81u \n(82u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4126
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4127
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4128
\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4129
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4130
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4131
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4132
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4133
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4134
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4135
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4136
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4137
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4138
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4139
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4140
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4141
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4142
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4143
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4144
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4145
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4146
.nr 37 \n(42u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4147
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4148
.c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4149
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4150
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4151
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4152
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4153
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4154
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4155
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4156
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4157
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4158
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4159
.rm c+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4160
.TE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4161
.if \n-(b.=0 .nr c. \n(.c-\n(d.-123
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4162
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4163
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4164
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4165
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4166
\f2イタリック\fPで示されたオプションは、Javadoc の基本オプションであり、Javadoc ツールのフロントエンドによって提供され、すべてのドックレットで使用できます。標準ドックレット自体は、イタリックでないオプションを提供します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4167
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4168
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4169
Javadoc オプション
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4170
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4171
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4172
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4173
\-overview \ path/filename 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4174
Javadoc に対して、\f2path/filename\fP で指定された「ソース」ファイルから概要ドキュメント用のテキストを取得し、そのテキストを概要ページ (\f2overview\-summary.html\fP) に配置するように指定します。\f2path/filename\fP は、\f2\-sourcepath\fP への相対パスです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4175
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4176
\f2filename\fP と \f2path\fP には、それぞれ任意の名前と場所を指定できますが、通常は、\f2overview.html\fP という名前を付けて、ソースツリー内の最上位のパッケージディレクトリがあるディレクトリに配置します。この場所に配置すると、\f2\-sourcepath\fP によってこのファイルが指し示されるので、パッケージをドキュメント化する際に \f2path\fP が不要になります。たとえば、\f2java.lang\fP パッケージのソースツリーが \f2/src/classes/java/lang/\fP の場合、概要ファイルを \f2/src/classes/overview.html\fP に配置できます。「使用例」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4177
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4178
\f2path/filename\fP で指定するファイルについては、「概要コメントファイル」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4179
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4180
概要ページが作成されるのは、Javadoc に複数のパッケージ名を渡した場合だけです。詳細は、「HTML フレーム」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4181
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4182
概要ページのタイトルは、\f2\-doctitle\fP によって設定されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4183
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4184
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4185
\-public 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4186
public クラスおよびメンバーだけを表示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4187
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4188
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4189
\-protected 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4190
protected および public のクラスとメンバーだけを表示します。これはデフォルトの設定です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4191
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4192
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4193
\-package 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4194
package、protected、および public のクラスとメンバーだけを表示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4195
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4196
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4197
\-private 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4198
すべてのクラスとメンバーを表示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4199
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4200
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4201
\-help 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4202
オンラインヘルプを表示します。 Javadoc とドックレットのコマンド行オプションが一覧表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4203
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4204
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4205
\-doclet\  class 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4206
ドキュメントの生成に使うドックレットを起動するためのクラスファイルを指定します。完全指定の名前を指定してください。このドックレットにより、出力の内容と形式が定義されます。\f4\-doclet\fP オプションが使われていない場合、Javadoc は、標準ドックレットを使ってデフォルトの HTML 形式を生成します。このクラスには、\f2start(Root)\fP メソッドが含まれていなければなりません。この起動クラスへのパスは、\f2\-docletpath\fP オプションによって定義されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4207
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4208
たとえば、MIF ドックレットを呼び出すには、次のように指定します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4209
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4210
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4211
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4212
    \-doclet com.sun.tools.doclets.mif.MIFDoclet
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4213
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4214
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4215
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4216
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4217
特定のドックレットを実行した完全な例については、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4218
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4219
\f2MIF Doclet のドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4220
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4221
http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.htmlを参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4222
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4223
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4224
\-docletpath\  classpathlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4225
\f2\-doclet\fP オプションで指定されているドックレット開始クラスファイル、およびそれが依存するすべての jar ファイルへのパスを指定します。開始クラスファイルが jar ファイル内にある場合、以下の例のように jar ファイルのパスが指定されます。絶対パスまたは現在のディレクトリからの相対パスを指定できます。\f2classpathlist\fP には、複数のパスまたは JAR ファイルを含めることができます。 その場合、各パスまたは JAR ファイルを、Solaris の場合にはコロン (:)、Windows の場合にはセミコロン (;) で区切ります。目的のドックレット開始クラスがすでに検索パス内にある場合は、このオプションは不要です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4226
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4227
jar ファイルへのパスの例には、ドックレット開始クラスファイルが含まれています。jar ファイル名が含まれている点に注目してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4228
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4229
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4230
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4231
   \-docletpath /home/user/mifdoclet/lib/mifdoclet.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4232
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4233
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4234
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4235
ドックレット開始クラスファイルのパスの例。クラスファイル名が省略されている点に注目してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4236
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4237
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4238
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4239
   \-docletpath /home/user/mifdoclet/classes/com/sun/tools/doclets/mif/
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4240
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4241
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4242
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4243
特定のドックレットを実行した完全な例については、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4244
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4245
\f2MIF Doclet のドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4246
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4247
http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.htmlを参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4248
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4249
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4250
\-1.1 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4251
\f2この機能は、Javadoc 1.4 では削除されました。代替機能はありません。このオプションは、Javadoc 1.1 によって生成されるのと同じ外見と機能を持つドキュメントを作成するためのものでした。 入れ子のクラスはサポートされていません。このオプションが必要な場合は、Javadoc 1.2 または 1.3 を使用してください。\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4252
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4253
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4254
\-source release 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4255
受け付けるソースコードのバージョンを指定します。\f2release\fP には次の値を指定できます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4256
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4257
.TS
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4258
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4259
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4260
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4261
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4262
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4263
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4264
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4265
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4266
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4267
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4268
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4269
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4270
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4271
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4272
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4273
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4274
.rm 80 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4275
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4276
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4277
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4278
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4279
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4280
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4281
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4282
.ll \n(34u*1u/3u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4283
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4284
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4285
Javadoc は、JDK 1.5 で導入された総称および他の言語機能を含んだコードを受け付けます。\f3\-source\fP フラグを指定しないと、コンパイラはデフォルトとして 1.5 の動作をします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4286
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4287
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4288
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4289
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4290
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4291
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4292
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4293
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4294
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4295
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4296
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4297
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4298
.ll \n(34u*1u/3u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4299
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4300
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4301
Javadoc は、JDK 1.4 で導入された、アサーションを含むコードを受け付けます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4302
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4303
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4304
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4305
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4306
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4307
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4308
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4309
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4310
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4311
.di c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4312
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4313
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4314
.ll \n(34u*1u/3u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4315
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4316
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4317
Javadoc は、JDK 1.3 以降に導入されたアサーション、総称、または他の言語機能をサポートしません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4318
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4319
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4320
.nr c| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4321
.nr c- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4322
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4323
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4324
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4325
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4326
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4327
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4328
.nr 31 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4329
.nr 32 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4330
.nr 38 \w\f31
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4331
.if \n(31<\n(38 .nr 31 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4332
.nr 38 \w.5\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4333
.if \n(32<\n(38 .nr 32 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4334
.nr 38 \w\f31
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4335
.if \n(31<\n(38 .nr 31 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4336
.nr 38 \w.4\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4337
.if \n(32<\n(38 .nr 32 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4338
.nr 38 \w\f31
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4339
.if \n(31<\n(38 .nr 31 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4340
.nr 38 \w.3\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4341
.if \n(32<\n(38 .nr 32 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4342
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4343
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4344
.nr 60 \n(31
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4345
.nr 38 \n(60+\n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4346
.if \n(38>\n(80 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4347
.if \n(38<\n(80 .nr 60 +(\n(80-\n(38)/2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4348
.nr 81 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4349
.81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4350
.rm 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4351
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4352
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4353
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4354
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4355
.nr 38 \n(c-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4356
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4357
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4358
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4359
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4360
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4361
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4362
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4363
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4364
.nr 60 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4365
.nr 41 \n(80+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4366
.nr 81 +\n(41
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4367
.nr TW \n(81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4368
.if t .if \n(TW>\n(.li .tm Table at line 2791 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4369
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4370
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4371
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4372
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4373
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4374
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4375
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4376
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4377
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4378
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4379
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4380
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4381
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4382
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4383
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4384
.ta \n(60u \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4385
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4386
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4387
\&\h'|\n(40u'\f31.5\fP\h'|\n(41u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4388
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4389
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4390
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4391
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4392
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4393
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4394
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4395
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4396
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4397
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4398
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4399
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4400
.ta \n(60u \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4401
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4402
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4403
\&\h'|\n(40u'\f31.4\fP\h'|\n(41u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4404
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4405
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4406
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4407
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4408
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4409
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4410
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4411
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4412
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4413
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4414
.ne \n(c|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4415
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4416
.ta \n(60u \n(80u \n(81u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4417
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4418
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4419
\&\h'|\n(40u'\f31.3\fP\h'|\n(41u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4420
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4421
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4422
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4423
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4424
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4425
.c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4426
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4427
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4428
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4429
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4430
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4431
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4432
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4433
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4434
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4435
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4436
.rm c+
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4437
.TE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4438
.if \n-(b.=0 .nr c. \n(.c-\n(d.-14
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4439
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4440
javac でコードをコンパイルするときに使用した値に対応する \f2release\fP の値を使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4441
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4442
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4443
\-sourcepath\  sourcepathlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4444
\f2javadoc\fP コマンドにパッケージ名または \f2\-subpackages\fP を渡すときに、ソースファイル (\f2.java\fP) を検索するためのパスを指定します。\f2sourcepathlist\fP には、コロン (\f2:\fP) で区切って複数のパスを含めることができます。Javadoc ツールは、指定されたパス以下のすべてのサブディレクトリを検索します。このオプションを使って、ドキュメント化されるソースファイルの位置だけでなく、それ自体はドキュメント化されないがドキュメント化されるソースファイルから継承されたコメントを持つソースファイルの位置も確認できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4445
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4446
\f2\-sourcepath\fP オプションは、javadoc コマンドにパッケージ名を渡すときにだけ使用できます。 \f2javadoc\fP コマンドに渡される \f2.java\fP ファイルは、このパスからは検索されません。\f2.java\fP ファイルを検索するには、そのファイルのあるディレクトリに cd によって移動するか、または各ファイルの先頭にパスを含めます (「1 つ以上のクラスのドキュメント化」を参照)。\f2\-sourcepath\fP が省略された場合、Javadoc は、クラスパスを使ってソースファイルを検索します (\-classpath を参照)。したがって、デフォルトの \-sourcepath は、クラスパスの値です。\-classpath も省略してパッケージ名を Javadoc に渡すと、Javadoc は現在のディレクトリおよびそのサブディレクトリからソースファイルを検索します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4447
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4448
\f2sourcepathlist\fP には、ドキュメント化するパッケージ名のソースツリーのルートディレクトリを設定します。たとえば、\f2com.mypackage\fP というパッケージをドキュメント化する場合に、そのソースファイルが次の場所にあるとします。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4449
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4450
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4451
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4452
  /home/user/src/com/mypackage/*.java
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4453
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4454
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4455
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4456
この場合、次のようにして \f2sourcepath\fP を \f2/home/user/src\fP、つまり \f2com/mypackage\fP を含むディレクトリに指定し、それからパッケージ名 \f2com.mypackage\fP を指定します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4457
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4458
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4459
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4460
  % \fP\f3javadoc \-sourcepath /home/user/src/ com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4461
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4462
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4463
この方法は、ソースパスの値とパッケージ名を連結して、ドットを (円記号) 「\\」に変えると、パッケージのフルパス (C:\\user\\src\\com\\mypackage) になることを理解すると簡単です。\f2/home/user/src/com/mypackage\fP. 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4464
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4465
2 つのソースパスを設定するには、次のようにします。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4466
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4467
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4468
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4469
  % \fP\f3javadoc \-sourcepath /home/user1/src:/home/user2/src com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4470
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4471
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4472
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4473
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4474
\-classpath\  classpathlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4475
Javadoc が参照クラス (\f2.class\fP ファイル) を検索するパスを指定します。 参照クラスとは、ドキュメント化されるクラスとそれらのクラスによって参照されるすべてのクラスのことです。\f2classpathlist\fP には、コロン (\f2:\fP) で区切って複数のパスを含めることができます。Javadoc ツールは、指定されたパスの以下すべてのサブディレクトリを検索します。\f2classpathlist\fP を指定するときは、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4476
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4477
\f2クラスパス\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4478
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4479
http://java.sun.com/javase/6/docs/technotes/tools/index.html#generalのドキュメントにある指示に従ってください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4480
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4481
\f2\-sourcepath\fP が省略されている場合、Javadoc ツールは、\f2\-classpath\fP を使って、クラスファイルだけでなくソースファイルも検索します (下位互換性のため)。したがって、ソースファイルとクラスファイルを別々のパスから検索する必要がある場合は、\f2\-sourcepath\fP と \f2\-classpath\fP の両方を使います。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4482
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4483
たとえば、\f2com.mypackage\fP をドキュメント化する場合に、ソースファイルがディレクトリ \f2/home/user/src/com/mypackage\fP にあり、このパッケージが \f2/home/user/lib\fP 内のライブラリを使うのであれば、次のように指定します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4484
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4485
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4486
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4487
  % \fP\f3javadoc \-classpath /home/user/lib \-sourcepath /home/user/src com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4488
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4489
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4490
ほかのツールと同様に、\f2\-classpath\fP が指定されていない場合は、CLASSPATH 環境変数が設定されていれば、Javadoc ツールはこの環境変数を使います。どちらも設定されていない場合、Javadoc ツールは現在のディレクトリからクラスを検索します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4491
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4492
Javadoc ツールは拡張機能クラスおよびブートストラップクラスに関連しているため、Javadoc ツールが \f2\-classpath\fP を使用してユーザークラスを検索する方法についての詳細は、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4493
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4494
\f2「クラスの検索方法」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4495
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4496
http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.htmlをご覧ください。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4497
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4498
便宜上、\f2*\fP のベース名を含むクラスパス要素は、ディレクトリ内の拡張子 \f2.jar\fP または \f2.JAR\fP を持つすべてのファイルのリストを指定するのと同じとみなされます (Java プログラムはこの 2 つの呼び出しを区別できない)。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4499
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4500
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4501
たとえば、ディレクトリ \f2foo\fP に \f2a.jar\fP と \f2b.JAR\fP が含まれている場合、クラスパス要素 \f2foo/*\fP は \f2A.jar:b.JAR\fP に展開されます。 ただし、JAR ファイルの順番は指定されません。このリストには、隠しファイルも含め、指定されたディレクトリ内のすべての JAR ファイルが含まれます。\f2*\fP だけから成るクラスパスエントリは、カレントディレクトリ内のすべての JAR ファイルのリストに展開されます。\f2CLASSPATH\fP 環境変数も、定義時には同様に展開されます。クラスパスのワイルドカード展開は必ず、Java 仮想マシンの起動前に実行されます。したがって、\f2System.getenv("CLASSPATH")\fP 呼び出しのように環境に問い合わせを行わない限り、Java プログラムが展開されていないワイルドカードを認識することはありません。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4502
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4503
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4504
\-subpackages\ \ package1:package2:... 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4505
ソースファイルから指定されたパッケージおよびそのサブパッケージ内に再帰的にドキュメントを生成します。このオプションは、ソースコードに新しいサブパッケージを追加する際に便利です。新しいサブパッケージは自動的に組み込まれます。各 \f2package\fP 引数は、任意の最上位サブパッケージ (\f2java\fP など) または完全指定のパッケージ (\f2javax.swing\fP など) になります。ソースファイルを含める必要はありません。引数は、コロンで区切られます (すべてのオペレーティングシステム)。ワイルドカードは不要です (使用不可)。パッケージの検索場所を指定するには、\f2\-sourcepath\fP を使用します。このオプションは、「ソースファイルの処理」で説明したとおり、ソースツリーにあるがパッケージには属していないソースファイルを処理しないので役立ちます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4506
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4507
例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4508
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4509
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4510
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4511
  % \fP\f3javadoc \-d docs \-sourcepath /home/user/src \-subpackages java:javax.swing\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4512
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4513
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4514
このコマンドは、「java」および「javax.swing」という名前のパッケージとこれらのサブパッケージ全部のドキュメントを生成します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4515
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4516
\f2\-exclude\fP とともに \f2\-subpackages\fP を使用すると、特定のパッケージを除外できます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4517
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4518
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4519
\-exclude\ \ packagename1:packagename2:... 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4520
指定されたパッケージとそのサブパッケージを \f2\-subpackages\fP によって作成されたリストから無条件に除外します。過去の \f2\-subpackages\fP オプションの指定によって組み込まれたパッケージ、または将来組み込まれるパッケージも除外の対象となります。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4521
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4522
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4523
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4524
  % \fP\f3javadoc \-sourcepath /home/user/src \-subpackages java \-exclude java.net:java.lang\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4525
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4526
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4527
このうち、\f2java.io\fP、\f2java.util\fP、\f2java.math\fP は組み込まれますが、\f2java.net\fP と \f2java.lang\fP 以下のパッケージは除外されます。ただし、\f2java.lang\fP のサブパッケージである \f2java.lang.ref\fP は除外されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4528
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4529
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4530
\-bootclasspath\  classpathlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4531
ブートクラスが存在するパスを指定します。ブートクラスとは、通常、Java プラットフォームのコアクラスのことです。ブートクラスパスは、Javadoc ツールがソースファイルとクラスファイルを探すときに使う検索パスの一部です。詳細は、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4532
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4533
\f2「javac と javadoc がクラスを検索する方法」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4534
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4535
http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.html#srcfilesを参照してください。\f2classpathlist\fP 内の複数のディレクトリは、コロン (:) で区切ります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4536
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4537
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4538
\-extdirs\  dirlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4539
拡張機能クラスが存在するディレクトリを指定します。拡張機能クラスとは、Java 拡張機能機構を使うすべてのクラスです。extdirs は、Javadoc ツールがソースファイルとクラスファイルを探すときに使う検索パスの一部です。詳細は、前述の \f2\-classpath\fP を参照してください。\f2dirlist\fP 内の複数のディレクトリは、コロン (:) で区切ります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4540
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4541
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4542
\-verbose 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4543
javadoc の実行中に詳細なメッセージを表示します。verbose オプションを指定しないと、ソースファイルのロード時、ドキュメントの生成時 (ソースファイルごとに 1 つのメッセージ)、およびソート時にメッセージが表示されます。verbose オプションを指定すると、各 Java ソースファイルの解析に要した時間 (ミリ秒単位) など、追加のメッセージが表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4544
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4545
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4546
\-quiet 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4547
エラーメッセージまたは警告メッセージ以外のメッセージを抑制し、警告とエラーだけが表示されるようにして、これらを特定しやすくします。バージョン文字列も抑制します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4548
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4549
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4550
\-breakiterator\  
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4551
英語言語というロケール固有のアルゴリズムではなく、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4552
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4553
\f2java.text.BreakIterator\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4554
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4555
http://java.sun.com/javase/6/docs/api/java/text/BreakIterator.html の国際化された文境界を使用して、英文の最初の文の終わりを判断します (他のすべてのロケールはすでに \f2BreakIterator\fP を使用)。\f2「最初の文」\fPとは、パッケージ、クラス、またはメンバーの主説明での最初の文のことです。この文は、パッケージ、クラス、またはメンバーの要約にコピーされ、アルファベット順のインデックスにコピーされます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4556
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4557
JDK 1.2 以降、BreakIterator クラスは、英語を除くすべての言語の文の終わりを判断するために、すでに使用されています。したがって、1.2 以降では、\f2\-breakiterator\fP オプションは英文以外には効果がありません。英文には、次のような独自のデフォルトのアルゴリズムがあります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4558
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4559
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4560
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4561
英文のデフォルトの文区切りアルゴリズム \- 空白または HTML ブロックタグ (\f2<P>\fP など) が続くピリオドで停止する 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4562
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4563
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4564
breakiterator 文区切りアルゴリズム \- 一般に、次の語が大文字で始まる場合、空白文字が続くピリオド、疑問符、または感嘆符で停止する。このアルゴリズムでは、ほとんどの省略表記が処理される (「The serial no. is valid」は処理されるが「Mr. Smith」は処理されない)。HTML タグや、数字または記号で始まる文では停止しない。HTML タグに埋め込まれている場合でも、「../filename」の最後のピリオドで停止する 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4565
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4566
.RS 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4567
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4568
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4569
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4570
注: 1.5.0 からは、1.4.x に設けられていた breakiterator 警告メッセージを削除し、デフォルトの文区切りアルゴリズムを変更していません。つまり、\\\-breakiterator オプションは、1.5.0 ではデフォルトではなくなり、またデフォルトにするつもりもありません。これは、「次のメジャーリリース」(1.5.0) でデフォルトを変更するという、以前の目的とは逆になっています。つまり、ソースコードを変更せず、1.4.x での breakiterator 警告を除去していない場合でも、1.5.0 からは何もする必要がなく、警告は消滅しています。 この逆戻りの理由は、breakiterator をデフォルトにするメリットよりも、デフォルトにするために必要となる、互換性のないソースの変更の方が負担が大きかったためです。この件で皆様に余分の手間をおかけし、混乱を招いたことをお詫びいたします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4571
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4572
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4573
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4574
\-locale\  language_country_variant 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4575
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4576
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4577
\f3重要\fP \- \f2\-locale\fP オプションは、標準ドックレットが提供するすべてのオプション、またはその他の任意のドックレットの提供するすべてのオプションより前 (左側) に指定する必要があります。そうしないと、ナビゲーションバーが英語で表示されます。このコマンド行オプションだけは、指定する順序に依存します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4578
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4579
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4580
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4581
Javadoc がドキュメントを生成するときに使うロケールを指定します。引数には、java.util.Locale のドキュメントで説明されているロケールの名前を指定します。たとえば、\f2en_US\fP (英語、米国)、\f2en_US_WIN\fP (Windows で使われる英語) などを指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4582
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4583
ロケールを指定すると、指定したロケールのリソースファイルが Javadoc によって選択されて、メッセージ (ナビゲーションバー、リストと表の見出し、ヘルプファイルの目次、stylesheet.css のコメントなどの文字列) のために使われます。また、アルファベット順にソートされるリストのソート順、および最初の文の末尾を判別するための文の区切り文字も、指定したロケールによって決まります。ただし、このオプションは、ドキュメント化されるクラスのソースファイル内で指定されているドキュメンテーションコメントのテキストのロケールを決定するものではありません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4584
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4585
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4586
\-encoding\  name 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4587
ソースファイルのエンコーディングの名前 (\f2EUCJIS/SJIS\fP など) を指定します。このオプションが指定されていない場合は、プラットフォームのデフォルトコンバータが使われます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4588
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4589
\-docencoding および \-charset も参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4590
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4591
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4592
\-Jflag 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4593
javadoc を実行する実行時システム java に、\f2flag\fP を直接渡します。\f2J\fP と \f2flag\fP の間に空白を入れてはなりません。たとえば、生成ドキュメントを処理するためにシステムで 32M バイトのメモリーを確保しておく必要がある場合は、Java の \f2\-Xmx\fP オプションを次のように呼び出します。 \f2\-Xms\fP は、省略可能です。 これは、初期メモリーのサイズを設定するだけのオプションで、必要なメモリーの最小サイズがわかっている場合に便利です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4594
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4595
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4596
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4597
   % \fP\f3javadoc \-J\-Xmx32m \-J\-Xms32m\fP \f3com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4598
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4599
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4600
使用している javadoc のバージョンを確認するには、次のように java の「\f2\-version\fP」オプションを呼び出します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4601
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4602
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4603
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4604
   % \fP\f3javadoc \-J\-version\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4605
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4606
   java version "1.2"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4607
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4608
   Classic VM (build JDK\-1.2\-V, green threads, sunwjit)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4609
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4610
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4611
出力ストリームには標準ドックレットのバージョン番号が含まれます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4612
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4613
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4614
標準ドックレットが提供するオプション
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4615
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4616
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4617
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4618
\-d\  directory 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4619
生成された HTML ファイルを保存する生成先ディレクトリを指定します(「d」は「生成先 (destination)」の意味)。このオプションを省略すると、生成されたファイルは現在のディレクトリに保存されます。値 \f2directory\fP には、絶対ディレクトリ、または現在の作業ディレクトリからの相対ディレクトリを指定できます。バージョン 1.4 では、javadoc を実行すると生成先ディレクトリが自動的に作成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4620
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4621
たとえば、次の例では、\f2com.mypackage\fP パッケージのドキュメントを生成し、結果を \f2/home/user/doc/\fP ディレクトリに保存します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4622
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4623
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4624
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4625
  % \fP\f3javadoc \-d /home/user/doc com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4626
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4627
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4628
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4629
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4630
\-use 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4631
ドキュメント化されるクラスおよびパッケージごとに 1 つの [使用] ページを組み込みます。このページには、その特定のクラスまたはパッケージの API を使っているパッケージ、クラス、メソッド、コンストラクタ、およびフィールドが記述されます。たとえば、クラス C を例にとると、クラス C を使っているものとしては、C のサブクラス、C として宣言されているフィールド、C を返すメソッド、および、型 C のパラメータを持つメソッドとコンストラクタがあります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4632
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4633
たとえば、String の [使用] ページに何が表示されるかを見てみましょう。\f2java.awt.Font\fP クラスの \f2getName()\fP メソッドは、\f2String\fP 型を返します。したがって、\f2getName()\fP は \f2String\fP を使っているので、\f2String\fP の [使用] ページにはこのメソッドがあります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4634
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4635
ただし、ドキュメント化されるのは API の使用だけであって、実装はドキュメント化されません。あるメソッドが、その実装の中で \f2String\fP を使っていても、引数として文字列をとったり、文字列を返したりしない場合は、\f2String\fP の「使用」とはみなされません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4636
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4637
生成された [使用] ページにアクセスするには、目的のクラスまたはパッケージに移動し、ナビゲーションバーの [使用] リンクをクリックします。   
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4638
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4639
\-version 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4640
生成ドキュメントに、@version のテキストを組み込みます。このテキストは、デフォルトでは省略されます。使用している Javadoc ツールのバージョンを確認するには、\f2\-J\-version\fP オプションを使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4641
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4642
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4643
\-author 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4644
生成ドキュメントに、@author のテキストを組み込みます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4645
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4646
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4647
\-splitindex 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4648
索引ファイルをアルファベットごとに複数のファイルに分割し、文字ごとに 1 つのファイルと、アルファベット以外の文字で始まる索引エントリ用に 1 つのファイルを作成します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4649
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4650
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4651
\-windowtitle\  title 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4652
HTML の <title> タグに配置するタイトルを指定します。指定したタイトルは、ウィンドウのタイトルや、このページに対して作成されたブラウザのブックマーク (お気に入り) に表示されます。このタイトルには HTML タグを含めないでください。 タイトルに HTML タグが含まれていると、ブラウザがタグを正しく解釈できません。\f2title\fP の中で引用符を使う場合は、引用符をエスケープする必要があります。\-windowtitle が省略されている場合、Javadoc ツールは、このオプションの代わりに \-doctitle の値を使います。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4653
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4654
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4655
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4656
  % \fP\f3javadoc \-windowtitle "Java 2 Platform" com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4657
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4658
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4659
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4660
\-doctitle\  title 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4661
概要ファイルの最上部の近くに配置するタイトルを指定します。タイトルは中央揃えになり、レベル 1 の見出しとして、上部ナビゲーションバーのすぐ下に置かれます。\f2title\fP には、HTML タグと空白を含めることができますが、これらを含める場合は、全体を引用符で囲まなければなりません。\f2title\fP の中で引用符を使う場合は、引用符をエスケープする必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4662
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4663
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4664
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4665
  % \fP\f3javadoc \-doctitle "Java (TM)" com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4666
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4667
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4668
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4669
\-title\  title 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4670
\f3このオプションは、現在は存在しません。\fPJavadoc 1.2 のベータ版にだけ存在しました。このオプションは、\f2\-doctitle\fP という名前に変更されました。名前を変更した理由は、このオプションが、ウィンドウのタイトルではなくドキュメントのタイトルを定義することを明確にするためです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4671
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4672
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4673
\-header\  header 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4674
各出力ファイルの上端に配置するヘッダーテキストを指定します。ヘッダーは、上部ナビゲーションバーの右側に配置されます。\f2header\fP には、HTML タグと空白を含めることができますが、これらを含める場合は、全体を引用符で囲まなければなりません。\f2header\fP の中で引用符を使う場合は、引用符をエスケープする必要があります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4675
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4676
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4677
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4678
  % \fP\f3javadoc \-header "<b>Java 2 Platform </b><br>v1.4" com.mypackage\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4679
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4680
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4681
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4682
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4683
\-footer\  footer 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4684
各出力ファイルの下端に配置するフッターテキストを指定します。フッターは、下部ナビゲーションバーの右側に配置されます。 \f2footer\fP には、HTML タグと空白を含めることができますが、これらを含める場合は、全体を引用符で囲まなければなりません。\f2footer\fP の中で引用符を使う場合は、引用符をエスケープする必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4685
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4686
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4687
\-bottom\  text 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4688
各出力ファイルの最下部に配置するテキストを指定します。このテキストは、下部ナビゲーションバーより下の、ページの最下部に配置されます。\f2text\fP には、HTML タグと空白を含めることができますが、これらを含める場合は、全体を引用符で囲まなければなりません。\f2text\fP の中で引用符を使う場合は、引用符をエスケープする必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4689
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4690
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4691
\-link\  extdocURL 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4692
javadoc により生成された既存の外部参照クラスのドキュメンテーションへのリンクを作成します。引数を 1 つとります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4693
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4694
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4695
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4696
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4697
\f4extdocURL\fP は、リンク先として指定する、javadoc によって生成された外部ドキュメントを含むディレクトリの絶対 URL または相対 URL です。あとで例を示します。このディレクトリ内にパッケージリストファイルが存在していなければなりません。 存在しない場合は、\f2\-linkoffline\fP を使用します。Javadoc ツールは、\f2パッケージリスト\fPファイルからパッケージ名を読み取り、これらのパッケージをその URL にリンクします。Javadoc ツールを実行すると、作成される \f2<A HREF>\fP リンク内に \f2extdocURL\fP の値がそのままコピーされます。したがって、\f2extdocURL\fP はファイルへの URL ではなく「ディレクトリへの URL」でなければなりません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4698
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4699
\f2extdocURL\fP への絶対リンクを使用すると、ユーザーのドキュメントを任意の Web サイト上のドキュメントにリンクできます。 相対位置へリンクするだけでよい場合は相対リンクを使用できます。相対リンクを使用する場合、\f2\-d\fP を使って、生成先ディレクトリからリンクされるパッケージのあるディレクトリの相対パスを指定する必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4700
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4701
通常、絶対リンクを指定する場合は、\f2http:\fPリンクを使用します。Web サーバーを持たないファイルシステムにリンクする場合は、\f2file:\fP リンクを使用できます。ただし、この方法は、すべてのユーザーが生成された同じファイルシステムを共有するドキュメントにアクセスする必要がある場合以外は使用しないでください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4702
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4703
いかなる場合にも、いかなるオペレーティングシステムでも、絶対 URL か相対 URL か、「http:」ベースか「file:」ベースかにかかわらず、スラッシュを区切り文字として使用します (
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4704
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4705
\f2URL Memo\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4706
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4707
http://www.ietf.org/rfc/rfc1738.txt で指定)。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4708
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4709
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4710
http:ベースの絶対リンク: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4711
\f2\-link http://<host>/<directory>/<directory>/.../<name>\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4712
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4713
file:ベースの絶対リンク: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4714
\f2\-link file://<host>/<directory>/<directory>/.../<name>\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4715
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4716
相対リンク: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4717
\f2\-link <directory>/<directory>/.../<name>\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4718
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4719
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4720
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4721
javadoc の実行時に複数の \f2\-link\fP オプションを指定して、複数のドキュメントへのリンクを作成することもできます。 \f3\-linkoffline または \-link の選択\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4722
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4723
\f2\-link\fP を使用する場合: 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4724
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4725
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4726
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4727
外部 API ドキュメントへの相対パスを使用する場合 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4728
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4729
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4730
外部 API ドキュメントへの絶対 URL を使用する場合 (プログラムがその URL に接続し、読み取りを行うことがシェルによって許可されている場合) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4731
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4732
次のような場合は、\f2\-linkoffline\fP オプションを使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4733
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4734
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4735
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4736
プログラムがその URL に接続し、読み取りを行うことがシェルによって許可されていない場合に外部 API ドキュメントへの絶対 URL を使用する場合。このような状況は、リンク先のドキュメントがファイアウォールの向こう側にある場合に発生します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4737
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4738
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4739
\f3外部ドキュメントへの絶対リンクの使用例\fP \- 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4740
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4741
\f2http://java.sun.com/j2se/1.5.0/docs/api\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4742
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4743
http://java.sun.com/j2se/1.5.0/docs/api 内の \f2java.lang\fP、\f2java.io\fP、その他の Java 2 プラットフォームパッケージにリンクしたい場合があります。 次のコマンドは、\f2com.mypackage\fP パッケージのドキュメントと Java 2 プラットフォームパッケージへのリンクを生成します。生成されたドキュメントには、たとえばクラスツリー内の \f2Object\fP クラスへのリンクが含まれています。\f2\-sourcepath\fP や \f2\-d\fP などの他のオプションは表示されません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4744
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4745
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4746
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4747
  % \fP\f3javadoc \-link http://java.sun.com/j2se/1.5.0/docs/api com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4748
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4749
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4750
\f3外部ドキュメントへの相対リンクの使用例\fP \- 2 つのパッケージがあり、そのドキュメントが Javadoc ツールを複数回実行した結果生成されたものであるとします。 さらに、これらのドキュメントが相対パスで分割されているとします。この例の場合、2 つのパッケージは、API である \f2com.apipackage\fP とSPI (サービスプロバイダインタフェース) である \f2com.spipackage\fP です。ドキュメントの格納先は \f2docs/api/com/apipackage\fP パッケージと \f2docs/spi/com/spipackage\fP パッケージです。API パッケージのドキュメントがすでに生成されていて、現在のディレクトリが \f2docs\fP である場合、次のコマンドを実行することによって、この API ドキュメントへのリンクを持つ SPI パッケージをドキュメント化します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4751
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4752
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4753
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4754
  % \fP\f3javadoc \-d ./spi \-link ../api com.spipackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4755
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4756
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4757
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4758
\f2\-link\fP 引数は、生成先ディレクトリ (\f2docs/spi\fP) の相対パスです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4759
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4760
\f3詳細\fP \- \f2\-link\fP オプションを使うと、「コードからは参照されていても、Javadoc の今回の実行ではドキュメント化されない」というクラスにリンクできるようになります。リンクから有効なページに移動できるようにするには、それらの HTML ページがある場所を調べ、その場所を \f2extdocURL\fP に指定する必要があります。このオプションを使うと、たとえば、サードパーティーのドキュメントから、\f2http://java.sun.com\fP にある \f2java.*\fP のドキュメントにリンクすることができます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4761
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4762
今回の実行で Javadoc によって生成されるドキュメント内の API だけを対象にリンクを作成する場合は、\f2\-link\fP オプションを省略します。\f2\-link\fP オプションが指定されていない場合、Javadoc ツールは、外部参照されたドキュメントへのリンクを作成しません。これは、そのドキュメントが存在するかどうか、および存在する場合はその場所を判別できないからです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4763
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4764
このオプションでは、生成ドキュメント内の複数の場所にリンクを作成できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4765
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4766
また、このオプションを使うと、複数のパッケージ群の間にクロスリンクを作成することもできます。つまり、ある一式のパッケージに対して javadoc を実行したあと、別の一式のパッケージに対して javadoc を実行し、これら 2 つのパッケージ群の間にクロスリンクを作成できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4767
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4768
\f3クラスの参照方法\fP \- 外部参照クラスへのリンクを、テキストラベルだけではなく実際に表示するには、次の方法でクラスを参照する必要があります。メソッドの本体でクラスを参照するだけでは十分ではありません。\f2import\fP 文または宣言で参照する必要があります。次に、クラス \f2java.io.File\fP を参照する方法の例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4769
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4770
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4771
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4772
すべての種類の \f2import\fP 文の場合: ワイルドカードによるインポート、名前による明示的なインポート、または \f2java.lang.*\fP に対する自動的なインポート。たとえば、次のようにすれば十分です。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4773
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4774
\f2import java.io.*;\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4775
.br
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4776
1.3.x および 1.2.x では、名前による明示的なインポートだけです。ワイルドカードによるインポート文も、自動インポート \f2java.lang.*\fP も使用できません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4777
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4778
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4779
宣言の場合:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4780
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4781
\f2void foo(File f) {}\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4782
.br
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4783
この参照を使用し、メソッド、コンストラクタ、フィールド、クラス、またはインタフェースの戻り値の型またはパラメータの型に置くか、\f2implements\fP、\f2extends\fP、または \f2throws\fP 文に置きます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4784
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4785
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4786
この結果、\f2\-link\fP オプションを使用しても、この制限のために誤って表示されない多くのリンクが多数発生する可能性があります。テキストはハイパーテキストリンクが付けられずに表示されます。これらのリンクが表示する警告から、このリンクを認識できます。クラスを正しく参照し、それによってリンクを追加するためのもっとも安全な方法は上で説明したとおり、当該のクラスをインポートすることです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4787
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4788
\f3パッケージリスト\fP \- \f2\-link\fP オプションは、\f2package\-list\fP という名前のファイルを要求します。 このファイルは、Javadoc ツールによって生成され、\f2\-link\fP によって指定した URL に存在します。\f2package\-list\fP ファイルは、その場所にあるドキュメント化されたパッケージの名前のリストが入った単純なテキストファイルです。前の例では、Javadoc ツールは指定された URL にある \f2package\-list\fP という名前のファイルを探し、パッケージ名を読み込んで、その URL にあるそれらのパッケージへのリンクを作成しました。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4789
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4790
たとえば、Java プラットフォーム v5.0 API のパッケージリストは 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4791
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4792
\f2http://java.sun.com/j2se/1.5.0/docs/api/package\-list\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4793
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4794
http://java.sun.com/j2se/1.5.0/docs/api/package\-list にあり、次のような内容で始まっています。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4795
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4796
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4797
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4798
  java.applet  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4799
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4800
  java.awt
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4801
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4802
  java.awt.color
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4803
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4804
  java.awt.datatransfer
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4805
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4806
  java.awt.dnd
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4807
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4808
  java.awt.event
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4809
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4810
  java.awt.font
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4811
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4812
  その他 ...
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4813
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4814
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4815
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4816
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4817
\f2\-link\fP オプションを指定せずに javadoc を実行した場合、外部参照クラスに属する名前を見つけると、javadoc はその名前をリンクを持たない形で出力します。一方、\f2\-link\fP オプションを指定した場合は、指定した \f2extdocURL\fP にある \f2package\-list\fP ファイルから該当するパッケージ名が検索されます。パッケージ名が見つかると、\f2extdocURL\fP が名前の前に付加されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4818
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4819
すべてのリンクが正しく機能するためには、外部参照のすべてのドキュメントが、指定した URL に存在していなければなりません。Javadoc ツールは、指定された package\-list が存在するかどうかを調べるだけで、指定された URL に目的のページが存在するかどうかはチェックしません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4820
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4821
\f3複数のリンク\fP \- 複数の \f2\-link\fP オプションを指定すると、生成された任意の数の外部ドキュメントに対してリンクを設定できます。Javadoc 1.2 には、複数の \f2\-link\fP オプションを指定できないというバグがあります。これは 1.2.2 で修正されました。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4822
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4823
リンクする外部ドキュメントごとに、次のように別々のリンクオプションを指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4824
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4825
\ \  \f2% \fP\f4javadoc \-link\fP \f2extdocURL1\fP \f4\-link\fP \f2extdocURL2\fP \f2...\fP\f4\-link\fP \f2extdocURLn\fP \f4com.mypackage\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4826
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4827
\f2extdocURL1\fP、\f2extdocURL2\fP、... \f2extdocURLn\fP は、それぞれ外部ドキュメントのルートを指し、各ルートには \f2package\-list\fP という名前のファイルが入っています。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4828
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4829
\f3クロスリンク\fP \- まだ生成されていない 2 つ以上のドキュメントをクロスリンクする場合は、「ブートストラップ」が必要になります。つまり、どのドキュメントについても \f2package\-list\fP が存在していない場合は、最初のドキュメントに対して javadoc ツールを実行する時点で、2 番目のドキュメントの \f2package\-list\fP がまだ存在していません。したがって、外部リンクを作成するには、2 番目のドキュメントを生成したあとで、最初のドキュメントを生成し直す必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4830
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4831
この場合、最初のドキュメント生成の目的は、そのドキュメントの \f2package\-list\fP を作成することです。 パッケージ名をすべて把握している場合は、package\-list を手動で作成することもできます。次に、2 番目のドキュメントとその外部リンクを生成します。必要な外部の \f2package\-list\fP ファイルが存在しない場合、Javadoc ツールは警告を表示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4832
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4833
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4834
\-linkoffline\  extdocURL\  packagelistLoc 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4835
このオプションは、\f2\-link\fP オプションを変えたものです。 どちらも、javadoc によって生成された外部参照クラスのドキュメントへのリンクを作成します。Javadoc ツール自体がオフラインになっているとき (Web 接続を使ってドキュメントにアクセスできないとき)、Web 上のドキュメントにリンクするには、\f2\-linkoffline\fP オプションを使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4836
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4837
厳密には、外部ドキュメントの \f2package\-list\fP ファイルにアクセスできないとき、またはこのファイルが \f2extdocURL\fP で指定された場所とは異なる場所 (通常、\f2packageListLoc\fP で指定可能なローカルな場所) に存在するとき、\f2\-linkoffline\fP を使用します。したがって、\f2extdocURL\fP に WWW 上でしかアクセスできない場合は、\f2\-linkoffline\fP を指定することにより、ドキュメントの生成時に javadoc ツールが Web に接続できなければならないという制約がなくなります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4838
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4839
さらに、ドキュメントを更新するための「ハッキング」としての使用も可能です。パッケージのセット全体に対して javadoc を実行したあと、変更した一部のパッケージだけに対して javadoc を実行します。 こうして、更新されたファイルを、オリジナルのファイルセットに挿入できるようにします。例をあとで示します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4840
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4841
\f2\-linkoffline\fP オプションは引数を 2 つ取ります。 最初の引数は \f2<a href>\fP リンクに組み込まれる文字列を指定する引数、2 番目の引数は \f2package\-list\fP の検索場所を指定する引数です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4842
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4843
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4844
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4845
\f4extdocURL\fP は、リンク先として指定する、javadoc によって生成された外部ドキュメントを含むディレクトリの絶対 URL または相対 URL です。相対リンクを使用する場合、\f2\-d\fP を使って、生成先ディレクトリからリンクされるパッケージのルートの相対パスを指定する必要があります。詳細は、\f2\-link\fP オプションの \f2extdocURL\fP を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4846
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4847
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4848
\f4packagelistLoc\fP には、外部ドキュメントの \f2package\-list\fP ファイルが入っているディレクトリのパスまたは URL を指定します。これは、URL (http: または file:)or file:)とファイルパスのどちらでもかまいません。また、絶対パスと相対パスのどちらでも指定できます。相対パスの場合は、javadoc が実行されるカレントディレクトリからの相対パスとして指定します。\f2package\-list\fP というファイル名は含めないでください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4849
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4850
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4851
javadoc の 1 回の実行で、複数の \f2\-linkoffline\fP オプションを指定できます。1.2.2 より前は、複数のオプションを指定することはできませんでした。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4852
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4853
\f3外部ドキュメントへの絶対リンクを使った例\fP \- \f2http://java.sun.com/j2se/1.5.0/docs/api\fP 内の \f2java.lang\fP、\f2java.io\fP、、およびその他の Java 2 プラットフォームパッケージにリンクしたくても、Web にアクセスできない 場合について考えてみます。この場合は、ブラウザで 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4854
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4855
\f2http://java.sun.com/j2se/1.5.0/docs/api/package\-list\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4856
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4857
http://java.sun.com/j2se/1.5.0/docs/api/package\-list にある \f2package\-list\fP ファイルを開き、ローカルディレクトリに保存します。 さらに、2 番目の引数 \f2packagelistLoc\fP にこのローカルコピーの場所を指定します。この例では、パッケージリストファイルはカレントディレクトリ "\f2.\fP" に保存されています。次のコマンドは、Java 2 プラットフォーム API へのリンクを含む、\f2com.mypackage\fP パッケージのドキュメントを生成します。生成されたドキュメントには、たとえばクラスツリー内の \f2Object\fP クラスへのリンクが含まれています。\f2\-sourcepath\fP などの他の必要なオプションは表示されません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4858
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4859
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4860
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4861
% \fP\f3javadoc \-linkoffline http://java.sun.com/j2se/1.5.0/docs/api . com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4862
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4863
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4864
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4865
\f3外部ドキュメントへの相対リンクの使用例\fP \- 通常、\f2\-linkoffline\fP に相対パスを指定することはありません。 \f2\-link\fP で同じことができるからです。\f2\-linkoffline\fP を使用する際、\f2package\-list\fP には通常ローカルのファイルを指定します。 相対リンクを使用する際も、リンク先のファイルには通常ローカルのファイルを指定します。したがって、\f2\-linkoffline\fP の 2 つの引数に別々のパスを指定する必要はありません。2 つの引数が同一である場合は、\f2\-link\fP を使用できます。\f2\-link\fP の相対リンクの例を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4866
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4867
\f4package\-list\fP\f3 ファイルを手動で作成\fP \- \f2package\-list\fP ファイルがまだ存在しなくても、ドキュメントのリンク先のパッケージ名がわかっている場合は、このファイルを自分で作成し、\f2packagelistLoc\fP でそのパスを指定することができます。\f2com.apipackage\fP が最初に生成され、\f2com.spipackage\fP のパッケージリストが存在しないという前出の例を参照してください。この方法は、パッケージ名はわかっているものの、まだ公開されていない、新しい外部ドキュメントにリンクするドキュメントを生成する必要がある場合に便利です。また、\f2package\-list\fP ファイルが生成されない Javadoc 1.0 や 1.1 などで生成されたパッケージ向けに \f2package\-list\fP ファイルを作成するときにも、この方法を利用します。同様に、2 つの会社が未公開の \f2package\-list\fP ファイルを共有することもできるため、クロスリンクを設定したドキュメントを同時にリリースすることも可能です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4868
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4869
\f3複数のドキュメントへのリンク\fP \- \f2\-linkoffline\fP は、参照先の生成ドキュメントごとに 1 つずつ指定します。 次の例では、わかりやすくするためにオプションごとに行を分けています。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4870
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4871
\f2% \fP\f4javadoc \-linkoffline\fP \f2extdocURL1\fP \f2packagelistLoc1\fP \f2\\\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4872
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4873
\f2\ \ \ \ \ \ \ \ \ \ \fP\f4\-linkoffline\fP \f2extdocURL2\fP \f2packagelistLoc2\fP \f2\\\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4874
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4875
\f2\ \ \ \ \ \ \ \ \ \ ...\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4876
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4877
\f3ドキュメントの更新\fP \- 前述の \f2\-linkoffline\fP オプションのもうひとつの用途は、プロジェクトに大量のパッケージが含まれていて、すでにツリー全体に対して javadoc の実行が完了している場合に、次の実行では、少量の変更を手早く加えたあと、ソースツリーのごく一部に対してだけ javadoc を再実行する場合に便利です。これは、ドキュメンテーションコメントに対してだけ変更を加え、宣言は変更しない場合にのみ正しく処理されるので、ハッキングのようなものです。ソースコードの宣言を追加、削除、または変更した場合は、索引、パッケージツリー、継承されるメンバーのリスト、[使用] ページなどの場所で、リンクが壊れることがあります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4878
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4879
まず、今回の実行で使用する新しい生成先ディレクトリ (\f2update\fP) を作成します。元の生成先ディレクトリの名前が \f2html\fP だとします。もっとも単純な例では、\f2html\fP ディレクトリの親ディレクトリに移動 (cd) します。\f2\-linkoffline\fP の最初の引数にカレントディレクトリ "." を指定し、2 番目の引数に \f2html\fP への相対パスを指定します。 ここで、\f2package\-list\fP が検索されます。 更新対照のパッケージのパッケージ名だけを指定してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4880
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4881
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4882
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4883
  % \fP\f3javadoc \-d update \-linkoffline . html com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4884
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4885
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4886
Javadoc ツールの終了後、\f2update/com/package\fP 内の生成されたクラスのページをコピーし (概要や索引を除く)、\f2html/com/package\fP 内の元のファイルに上書きします。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4887
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4888
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4889
\-linksource\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4890
各ソースファイル (行番号付き) の HTML バージョンを作成し、標準 HTML ドキュメントからソースファイルへのリンクを追加します。リンクは、ソースファイル内に宣言されているクラス、インタフェース、コンストラクタ、メソッド、フィールドに対して作成されます。デフォルトコンストラクタ、生成されたクラスに対しては作成されません。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4891
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4892
\f3このオプションは、\fP\f4\-public\fP\f3、\fP\f4\-package\fP\f3、\fP\f4\-protected\fP\f3、\fP\f4\-private\fP\f3 の各オプションとは関係なく、非公開のクラス、フィールド、非公開のメソッドの本体をはじめとする組み込まれたソースファイル内のすべての非公開実装の詳細を公開します。\fP\f2\-private\fP オプションを指定しないかぎり、非公開のクラスやインタフェースの一部には、リンクを介してアクセスできないことがあります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4893
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4894
各リンクは、その宣言内の識別子名の上に作成されます。たとえば、\f2Button\fP クラスのソースコードヘのリンクは、「Button」という語の上に作成されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4895
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4896
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4897
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4898
    public class Button
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4899
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4900
    extends Component
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4901
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4902
    implements Accessible
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4903
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4904
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4905
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4906
Button クラスの \f2getLabel()\fP メソッドのソースコードへのリンクは、「getLabel」という語の上に作成されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4907
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4908
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4909
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4910
    public String getLabel()
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4911
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4912
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4913
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4914
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4915
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4916
\-group\  groupheading\  packagepattern:packagepattern:... 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4917
概要ページの複数のパッケージを、指定したグループに分けて、グループごとに表を作成します。各グループは、それぞれ別の \f2\-group\fP オプションで指定します。これらのグループは、コマンド行で指定した順序でページに表示されます。 各グループ内では、パッケージがアルファベット順に並べられます。指定した \f2\-group\fP オプションごとに、\f2packagepattern\fP 式のリストと一致するパッケージが、見出し \f2groupheading\fP を持つ 1 つの表にまとめて表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4918
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4919
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4920
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4921
\f4groupheading\fP には、任意のテキストを指定でき、空白を含めることができます。指定したテキストは、グループの表見出しになります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4922
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4923
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4924
\f4packagepattern\fP には、任意のパッケージ名、または任意のパッケージ名の先頭部分とそれに続く 1 つのアスタリスク (\f2*\fP) を指定できます。アスタリスクは、「任意の文字に一致する」という意味のワイルドカードです。ワイルドカードとして指定できるのは、アスタリスクだけです。1 つのグループには、コロン (\f2:\fP) で区切って複数のパターンを含めることができます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4925
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4926
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4927
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4928
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4929
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4930
\f3注: パターンやパターンリスト内でアスタリスクを使う場合は、\fP\f4"java.lang*:java.util"\fP\f3 のように、パターンリストを引用符で囲む必要があります。\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4931
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4932
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4933
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4934
\f2\-group\fP オプションが指定されていない場合は、すべてのパッケージが、「パッケージ」という見出しの 1 つのグループに入れられます。ドキュメント化されるパッケージの中に、指定したグループのどのグループにも入らないパッケージがある場合、このようなパッケージは「その他のパッケージ」という見出しを持つ独立したグループに入れられます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4935
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4936
たとえば、次のようにオプションを指定すると、ドキュメント化される 5 つのパッケージは、コアパッケージ、拡張機能パッケージ、およびその他のパッケージに分けられます。「java.lang*」では、最後のドットを指定していないことに注目してください。 「java.lang.*」のようにドットを入れると、java.lang パッケージは除外されることになります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4937
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4938
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4939
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4940
  % \fP\f3javadoc \-group "Core Packages" "java.lang*:java.util"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4941
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4942
            \-group "Extension Packages" "javax.*"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4943
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4944
            java.lang java.lang.reflect java.util javax.servlet java.new\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4945
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4946
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4947
この結果、次のようなグループ化が行われます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4948
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4949
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4950
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4951
コアパッケージ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4952
\f2java.lang\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4953
\f2java.lang.reflect\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4954
\f2java.util\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4955
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4956
拡張機能パッケージ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4957
\f2javax.servlet\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4958
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4959
その他のパッケージ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4960
\f2java.new\fP 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4961
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4962
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4963
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4964
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4965
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4966
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4967
\-nodeprecated 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4968
推奨されない API をドキュメントに生成しないようにします。このオプションを指定すると、\-nodeprecatedlist オプションを指定した場合と同じ効果があることに加えて、ドキュメントのほかの部分全体でも、推奨されない API が生成されません。このオプションは、コードを記述しているとき、推奨されないコードによって気を散らされたくない場合に便利です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4969
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4970
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4971
\-nodeprecatedlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4972
推奨されない API のリストを含むファイル (deprecated\-list.html)、およびナビゲーションバーのそのページへのリンクが生成されないようにします。ただし、ドキュメントのほかの部分では、推奨されない API が生成されます。このオプションは、推奨されない API がソースコードに含まれておらず、ナビゲーションバーをすっきりと見せたい場合に便利です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4973
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4974
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4975
\-nosince 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4976
生成ドキュメントから、@since タグに対応する「導入されたバージョン」 セクションを省略します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4977
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4978
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4979
\-notree 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4980
生成されるドキュメントからクラスおよびインタフェースの階層ページを省略します。これらのページには、ナビゲーションバーの「ツリー」ボタンからアクセスできます。デフォルトでは、階層が生成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4981
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4982
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4983
\-noindex 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4984
生成ドキュメントから、索引を省略します。デフォルトでは、索引が生成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4985
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4986
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4987
\-nohelp 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4988
出力の各ページの最上部と最下部にあるナビゲーションバーから [ヘルプ] リンクを省略します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4989
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4990
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4991
\-nonavbar 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4992
生成されるページの最上部と最下部に表示されるナビゲーションバー、ヘッダー、およびフッターを生成しないようにします。このオプションは、bottom オプションには影響を与えません。\f2\-nonavbar\fP オプションは、印刷するためだけにファイルを PostScript または PDF に変換する場合など、内容だけが重要で、ナビゲーションの必要がない場合に便利です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4993
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4994
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4995
\-helpfile\  path/filename 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4996
上部と下部のナビゲーションバーの [ヘルプ] リンクのリンク先となる代替ヘルプファイル \f2path/filename\fP のパスを指定します。このオプションが指定されていない場合、Javadoc ツールは、ハードコードされているヘルプファイル \f2help\-doc.html\fP を自動的に作成します。このオプションを使うと、そのデフォルトの動作をオーバーライドできます。\f2filename\fP にはどんなファイル名でも指定でき、\f2help\-doc.html\fP には限定されません。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  4997
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4998
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  4999
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5000
  % \fP\f3javadoc \-helpfile /home/user/myhelp.html java.awt\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5001
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5002
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5003
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5004
\-stylesheetfile\  path/filename 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5005
代替 HTML スタイルシートファイルのパスを指定します。このオプションが指定されていない場合、Javadoc ツールは、ハードコードされているスタイルシートファイル \f2stylesheet.css\fP を自動的に作成します。このオプションを使うと、そのデフォルトの動作をオーバーライドできます。\f2filename\fP にはどんなファイル名でも指定でき、\f2stylesheet.css\fP には限定されません。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5006
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5007
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5008
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5009
  % \fP\f3javadoc \-stylesheetfile /home/user/mystylesheet.css com.mypackage\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5010
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5011
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5012
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5013
\-serialwarn 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5014
@serial タグがない場合は、コンパイル時に警告を生成します。デフォルトでは、Javadoc 1.2.2 以降のバージョンでは、直列化の警告は生成されません。1.2.2 より前の初期バージョンでは、警告が生成されます。このオプションを使用すると、直列化の警告が表示されるので、デフォルトの直列化可能フィールドと \f2writeExternal\fP メソッドを適切にドキュメント化するのに役立ちます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5015
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5016
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5017
\-charset\  name 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5018
このドキュメント用の HTML 文字セットを指定します。この名前は、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5019
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5020
\f2IANA Registry\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5021
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5022
http://www.iana.org/assignments/character\-sets で与えられた、推奨される MIME 名でなければなりません。例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5023
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5024
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5025
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5026
  % \fP\f3javadoc \-charset "iso\-8859\-1" mypackage\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5027
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5028
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5029
生成されるすべてのページの先頭に、次の行が挿入されます。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5030
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5031
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5032
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5033
   <META http\-equiv="Content\-Type" content="text/html; charset=ISO\-8859\-1">
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5034
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5035
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5036
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5037
この META タグについては、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5038
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5039
\f2HTML の標準\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5040
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5041
http://www.w3.org/TR/REC\-html40/charset.html#h\-5.2.2 (4197265 および 4137321) を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5042
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5043
\-encoding および \-docencoding も参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5044
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5045
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5046
\-docencoding\  name 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5047
生成される HTML ファイルのエンコーディングを指定します。この名前は、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5048
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5049
\f2IANA Registry\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5050
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5051
http://www.iana.org/assignments/character\-sets で与えられた、推奨される MIME 名でなければなりません。このオプションを省略しながら \-encoding を使用した場合、生成される HTML ファイルのエンコードは、\-encoding によって決められます。例: 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5052
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5053
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5054
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5055
  % \fP\f3javadoc \-docencoding "ISO\-8859\-1" mypackage\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5056
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5057
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5058
\-encoding および \-charset も参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5059
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5060
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5061
\-keywords 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5062
HTML メタキーワードタグを、クラスごとに生成されるファイルに追加します。これらのタグは、メタタグを検索するサーチエンジンがページを見つける場合に役立ちます。インターネット全体を検索する多くのサーチエンジンは、ページがメタタグを誤用しているため、メタタグを調べません。 一方、検索を自身の Web サイトに限定している企業では、サーチエンジンがメタタグを調べることによってメリットを得られます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5063
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5064
メタタグには、クラスの完全修飾名と、フィールドおよびメソッドの修飾されていない名前が含まれます。コンストラクタは、クラス名と同じであるため含まれません。たとえば、クラス String は次のキーワードで開始します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5065
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5066
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5067
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5068
     <META NAME="keywords" CONTENT="java.lang.String class">
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5069
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5070
     <META NAME="keywords" CONTENT="CASE_INSENSITIVE_ORDER">
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5071
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5072
     <META NAME="keywords" CONTENT="length()">
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5073
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5074
     <META NAME="keywords" CONTENT="charAt()">
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5075
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5076
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5077
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5078
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5079
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5080
\-tag\ \ tagname:Xaoptcmf:"taghead" 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5081
Javadoc ツールがドキュメンテーションコメント内の引数を 1 つ取る単純なカスタムブロックタグ \f2@\fP\f2tagname\fP を解釈できるようにします。これにより、Javadoc ツールはタグ名の「スペルチェック」を行うことができるので、ソースコード内のすべてのカスタムタグに \f2\-tag\fP オプションを組み込むことをお勧めします。今回の実行で出力されないタグは、\f2X\fP を付けて無効にします。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5082
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5083
コロン (\f4:\fP) は常に区切り文字になります。\f2tagname\fP でコロンを使用するには、「タグ名でのコロンの使用」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5084
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5085
\f2\-tag\fP オプションは、タグの見出し「taghead」を太字で出力します。 その次の行には、このオプションの引数で指定したテキストが続きます。 以下の例を参照してください。ブロックタグと同様、この引数のテキストにはインラインタグを含めることができます。 このインラインタグも解釈されます。出力は、引数を 1 つ取る標準のタグ (\f2@return\fP、\f2@author\fP など) の出力とよく似ています。\f2taghead\fP を省略すると、\f2tagname\fP が見出しとして表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5086
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5087
\f3タグの配置\fP \- 引数の \f4Xaoptcmf\fP 部分は、ソースコード内のタグを配置できる位置と、\f2X\fP を使ってこのタグを無効にできるかどうかを特定します。タグの配置位置を制限しない場合は \f4a\fP を指定します。 それ以外の文字の組み合わせも可能です。 \f4X\fP (タグの無効化)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5088
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5089
\f4a\fP (すべての位置)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5090
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5091
\f4o\fP (概要)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5092
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5093
\f4p\fP (パッケージ)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5094
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5095
\f4t\fP (型すなわちクラスおよびインタフェース)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5096
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5097
\f4c\fP (コンストラクタ)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5098
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5099
\f4m\fP (メソッド)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5100
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5101
\f4f\fP (フィールド) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5102
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5103
\f3シングルタグの例\fP \- ソースコード内の任意の位置で使用で気るタグのタグオプションの例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5104
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5105
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5106
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5107
    \-tag todo:a:"To Do:"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5108
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5109
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5110
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5111
@todo をコンストラクタ、メソッド、フィールドのみで使用する場合は、以下のオプションを使用します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5112
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5113
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5114
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5115
    \-tag todo:cmf:"To Do:"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5116
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5117
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5118
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5119
上の例の最後のコロン (\f2:\fP) は、パラメータ区切り子ですが、見出しテキストの一部になっています (以下の例を参照)。次の例のように、\f2@todo\fP タグを含むソースコードでは、いずれかのタグオプションを使用します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5120
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5121
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5122
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5123
     @todo The documentation for this method needs work.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5124
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5125
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5126
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5127
\f3タグ名にコロンを使用する\fP \- コロン (:) をバックスラッシュでエスケープすると、コロンをタグ名に使用することができます。このドキュメンテーションコメントの中では、次のように使用します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5128
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5129
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5130
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5131
    /**
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5132
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5133
     * @ejb:bean
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5134
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5135
     */
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5136
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5137
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5138
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5139
でこのタグオプションを使用すると、  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5140
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5141
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5142
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5143
    \-tag ejb\\\\:bean:a:"EJB Bean:"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5144
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5145
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5146
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5147
\f3タグ名のスペルチェック (タグの無効化)\fP \- ソースコード内に配置した一部のカスタムタグの出力を抑制したい場合があります。この場合も、ソースコード内にすべてのタグを配置し、出力を抑制しないタグを有効にし、出力を抑制するタグを無効にします。タグを無効にするには、\f2X\fP を指定します。指定しないと、そのタグは有効になります。 これにより、Javadoc ツールは、検出したタグが入力ミスなどによる未知のタグであるかどうかを特定できます。未知のタグを検出した場合、Javadoc ツールは警告を出力します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5148
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5149
すでに配置されている値に \f2X\fP を追加できます。 こうしておけば、\f2X\fP を削除するだけでタグを有効にすることができます。たとえば、@todo タグの出力を抑制したい場合、次のように指定します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5150
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5151
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5152
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5153
    \-tag todo:Xcmf:"To Do:"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5154
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5155
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5156
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5157
さらに単純な指定方法もあります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5158
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5159
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5160
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5161
    \-tag todo:X
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5162
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5163
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5164
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5165
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5166
構文 \f2\-tag todo:X\fP は、\f2@todo\fP が taglet で定義されている場合も有効です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5167
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5168
\f3タグの順序\fP \- \f2\-tag\fP (および \f2\-taglet\fP) オプションの順序によって、その出力順序が決定します。カスタムタグと標準タグを組み合わせて使用することもできます。標準タグのタグオプションは、順序を決定するためだけのプレースホルダです。これらは標準タグ名のみを使用します。(標準タグの小見出しは変更できません。)これについては、以下の例で説明します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5169
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5170
\f2\-tag\fP がない場合、\f2\-taglet\fP の位置によってその順序が決定します。タグが両方とも存在する場合、コマンド行の最後にあるほうがその順序を決定します。これは、タグやタグレットがコマンド行に指定された順番に処理されるためです。たとえば、\f2\-taglet\fP と \f2\-tag\fP の両方が todo という名前を持っている場合、コマンド行の最後にあるほうが順序を決定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5171
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5172
\f3タグの完全セットの例\fP \- この例では、出力の「Parameters」と「Throws」の間に「To Do」を挿入します。X を使用して、@example が、ソースコード内の今回の実行では出力されないタグであることを指定します。@argfile を使用する場合は、次のように、引数ファイル内の別々の行にタグを配置できます。 行の継続を示す文字は不要です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5173
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5174
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5175
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5176
   \-tag param
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5177
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5178
   \-tag return
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5179
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5180
   \-tag todo:a:"To Do:"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5181
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5182
   \-tag throws
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5183
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5184
   \-tag see
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5185
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5186
   \-tag example:X
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5187
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5188
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5189
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5190
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5191
javadoc がドキュメンテーションコメントを解析する際に検出されたタグのうち、標準タグでも \f2\-tag\fP や \f2\-taglet\fP で渡されるタグでもないものは、未知のタグの見なされます。 この場合、警告がスローされます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5192
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5193
標準タグは、最初、デフォルトの順序でリスト内に内部的に格納されます。\f2\-tag\fP オプションを使用すると、このリストに追加されるタグ、すなわち標準タグの位置がデフォルトの位置から移動します。つまり、標準タグに \f2\-tag\fP オプションを付けなければ、これらはデフォルトの位置に配置されたままになります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5194
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5195
\f3競合の回避\fP \- 固有の名前空間を分割するには、パッケージに使用されている \f2com.mycompany.todo\fP のように、ドット (.) 区切りの命名規則を使用します。Sun は、今後も名前にドットを含まない標準タグを作成します。ユーザーが作成したタグは、Sun が提供する同じ名前のタグの動作をオーバーライドします。つまり、ユーザーが \f2@todo\fP という名前のタグまたはタグレットを作成している場合、Sun があとから同じ名前の標準タグを作成しても、そのタグまたはタグレットは元の動作を保持します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5196
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5197
\f3注釈 vs. Javadoc タグ\fP \- 一般に、追加する必要のあるマークアップが、ドキュメンテーションに影響を与えたりドキュメンテーションを生成したりするためのものである場合、そのマークアップは javadoc タグにすべきです。 それ以外の場合は注釈にすべきです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5198
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5199
\f2「Comparing Annotations and Javadoc Tags」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5200
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5201
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html#annotationsを参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5202
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5203
\-taglet オプションを使用して、より複雑なブロックタグやカスタムインラインタグを 作成することができます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5204
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5205
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5206
\-taglet\ \ class 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5207
そのタグのドキュメントの生成に使うドックレットを起動するためのクラスファイルを指定します。クラスの完全指定名を指定してください。このタグレットは、カスタムタグのテキスト引数の数も定義します。タグレットは、これらの引数を受け付け、処理し、出力を生成します。外部ドキュメントとサンプルタグレットについては、以下を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5208
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5209
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5210
o
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5211
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5212
\f2「タグレットの概要」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5213
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5214
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/taglet/overview.html 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5215
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5216
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5217
タグレットは、標準タグまたはインラインタグで便利です。タグレットは任意の数の引数をとることができます。 また、テキストを太字にする、箇条書きを作成する、テキストをファイルに書き出す、その他のプロセスを開始するなどのカスタム動作を実装できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5218
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5219
タグレットで指定できるのは、タグの配置場所と配置形式のみです。その他のすべての決定は、ドックレットによって行われます。タグレットを使用しても、包含クラスのリストからクラス名を削除するなどの処理は実行できません。ただし、タグのテキストをファイルに出力したり、別のプロセスをトリガーするなどの副作用は得られます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5220
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5221
タグレットのパスを指定するには、\f2\-tagletpath\fP オプションを使用します。以下は、生成されるページの「Parameter」と「Throws」の間に「To Do」タグレットを挿入する例です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5222
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5223
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5224
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5225
    \-taglet com.sun.tools.doclets.ToDoTaglet
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5226
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5227
    \-tagletpath /home/taglets 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5228
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5229
    \-tag return
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5230
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5231
    \-tag param
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5232
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5233
    \-tag todo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5234
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5235
    \-tag throws
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5236
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5237
    \-tag see
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5238
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5239
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5240
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5241
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5242
\f2\-tag\fP オプションの代わりに \f2\-taglet\fP オプションを使用することもできますが、読みやすさを考慮するなら、\f2\-tag\fP オプションを使用したほうがよいでしょう。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5243
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5244
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5245
\-tagletpath\ \ tagletpathlist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5246
taglet クラスファイル (.class) の検索パスを指定します。\f2tagletpathlist\fP には、コロン (\f2:\fP) で区切って複数のパスを含めることができます。Javadoc ツールは、指定されたパスの以下すべてのサブディレクトリを検索します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5247
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5248
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5249
\-docfilessubdirs\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5250
\f2doc\-files\fP ディレクトリの深いコピーを有効にします。つまり、コピー先には、サブディレクトリとすべてのコンテンツがコピーされます。たとえば、\f2doc\-files/example/images\fP ディレクトリとその中のファイルがコピーされます。ここでも、サブディレクトリを除外する指定が可能です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5251
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5252
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5253
\-excludedocfilessubdir\ \ name1:name2... 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5254
所定の名前の \f2doc\-files\fP サブディレクトリを除外します。これにより、SCCS とその他のソースコード制御サブディレクトリのコピーを防ぎます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5255
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5256
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5257
\-noqualifier\ \ all\  | \ packagename1:packagename2:... 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5258
出力されるクラス名の先頭のパッケージ名 (パッケージ修飾子) を省略します。\f2\-noqualifier\fP の引数として \f2all\fP を指定した場合、すべてのパッケージ修飾子がすべて省略されます。 削除する複数のパッケージ名をコロンで区切って、ワイルドカードとともに指定することもできます。クラスまたはインタフェース名が表示される位置からパッケージ名が削除されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5259
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5260
次の例では、すべてのパッケージ修飾子を省略します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5261
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5262
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5263
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5264
    \-noqualifier all
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5265
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5266
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5267
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5268
次の例では、パッケージ修飾子 java.lang および java.io を省略します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5269
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5270
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5271
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5272
    \-noqualifier java.lang:java.io
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5273
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5274
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5275
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5276
次の例では、java で始まるパッケージ修飾子と com.sun というサブパッケージ (javax ではない) を省略します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5277
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5278
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5279
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5280
    \-noqualifier java.*:com.sun.*
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5281
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5282
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5283
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5284
パッケージ修飾子が上記の動作に従って表示される場合、名前は適切に短くされます。 詳細は「名前の表示方法」を参照してください。この規則は、\f2\-noqualifier\fP を使用したかどうかにかかわらず有効です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5285
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5286
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5287
\-notimestamp\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5288
タイムスタンプが抑制されます。 各ページ先頭近くにある、生成された HTML 内の HTML コメントでタイムスタンプが隠されます。Javadoc を 2 つのソースベースで実行し、それらに対して diff を実行するときにこのオプションを使用すると、タイムスタンプによって diff が発生しなくなるので便利です (このオプションを使用しないと、各ページで diff になります)。タイムスタンプには Javadoc のバージョン番号が含まれており、次のようになります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5289
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5290
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5291
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5292
     <!\-\- Generated by javadoc (build 1.5.0\-internal) on Tue Jun 22 09:57:24 PDT 2004 \-\->
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5293
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5294
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5295
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5296
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5297
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5298
\-nocomment\  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5299
主説明およびすべてのタグを含むコメント本文全体を抑制し、宣言だけを生成します。このオプションにより、元は異なる目的のためだったソースファイルを再利用し、新しいプロジェクトの早い段階でスケルトン HTML ドキュメントを作成できるようになりました。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5300
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5301
.SH "コマンド行引数ファイル"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5302
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5303
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5304
\f2javadoc\fP のコマンド行を短くしたり簡潔にしたりするために、\f2javadoc\fP コマンドに対する引数 (\f2\-J\fP オプションを除く) が入った 1 つ以上のファイルを指定することができます。このことを利用すれば、どのオペレーティングシステム上でも、任意の長さの javadoc コマンドを作成できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5305
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5306
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5307
引数ファイルには、javac のオプションとソースファイル名を自由に組み合わせて記述できます。ファイル内の各引数は、スペースまたは改行で区切ります。ファイル名に空白が含まれている場合は、そのファイル名全体を二重引用符で囲みます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5308
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5309
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5310
引数ファイル内のファイル名は、現在のディレクトリから見た相対パスになります。引数ファイルの位置から見た相対パスではありません。引数ファイル内のファイル名リストでは、ワイルドカード (*) は使用できません。たとえば、\f2*.java\fP とは指定できません。引数ファイル内の引数で \f2@\fP 文字を使用して、複数のファイルを再帰的に解釈することはサポートされていません。また、\f2\-J\fP オプションもサポートされていません。 このオプションは起動ツールに渡されますが、起動ツールでは引数ファイルをサポートしていないからです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5311
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5312
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5313
javadoc を実行するときに、各引数ファイルのパスとファイル名の先頭に \f2@\fP 文字を付けて渡します。javadoc は、\f2@\fP 文字で始まる引数を見つけると、そのファイルの内容を展開して引数リストに挿入します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5314
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5315
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5316
引数ファイルを 1 つ指定する例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5317
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5318
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5319
\f2argfile\fP という名前の引数ファイルにすべての Javadoc 引数を格納し、次のように使用することができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5320
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5321
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5322
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5323
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5324
  % \fP\f3javadoc @argfile\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5325
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5326
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5327
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5328
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5329
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5330
この引数ファイルには、次の例で示されている 2 つのファイルの内容を両方とも入れることができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5331
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5332
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5333
引数ファイルを 2 つ指定する例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5334
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5335
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5336
Javadoc オプション用に 1 つ、ソースファイル名用に 1 つというように、2 つの引数ファイルを作成し、次のようにして使用することができます。なお、このあとのリストでは、行の継続文字を使用していません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5337
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5338
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5339
以下の内容を含む \f2options\fP という名前のファイルを作成します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5340
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5341
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5342
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5343
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5344
     \-d docs\-filelist 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5345
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5346
     \-use 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5347
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5348
     \-splitindex
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5349
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5350
     \-windowtitle 'Java 2 Platform v1.3 API Specification'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5351
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5352
     \-doctitle 'Java(TM) 2 Platform 5.0 API Specification'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5353
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5354
     \-header '<b>Java 2 Platform </b><br><font size="\-1">5.0</font>'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5355
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5356
     \-bottom 'Copyright 1993\-2000 Sun Microsystems, Inc. All Rights Reserved.'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5357
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5358
     \-group "Core Packages" "java.*"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5359
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5360
     \-overview /java/pubs/ws/1.5/src/share/classes/overview\-core.html
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5361
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5362
     \-sourcepath /java/pubs/ws/1.5/src/share/classes
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5363
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5364
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5365
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5366
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5367
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5368
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5369
以下の内容を含む \f2packages\fP という名前のファイルを作成します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5370
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5371
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5372
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5373
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5374
     com.mypackage1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5375
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5376
     com.mypackage2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5377
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5378
     com.mypackage3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5379
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5380
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5381
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5382
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5383
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5384
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5385
そのあと、次のコマンドを使用して javadoc を実行します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5386
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5387
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5388
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5389
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5390
  % \fP\f3javadoc @options @packages\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5391
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5392
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5393
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5394
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5395
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5396
パス付きの引数ファイルの例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5397
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5398
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5399
引数ファイルには、パスを指定できます。 ただし、そのファイル内に指定されたファイル名は、現在の作業ディレクトリから見た相対パスになります。 つまり、下の例の場合は、\f2path1\fP や \f2path2\fP から見た相対パスではありません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5400
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5401
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5402
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5403
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5404
  % \fP\f3javadoc @path1/options @path2/packages\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5405
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5406
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5407
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5408
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5409
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5410
オプションの引数の例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5411
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5412
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5413
次に、Javadoc オプションに対する引数だけを引数ファイルに格納する例を示します。ここでは、\f2\-bottom\fP を例に取り上げます。 そのオプションには、かなり長い引数を指定することがあるからです。まず、このオプションのテキスト引数になる次のような内容を含む、\f2bottom\fP という名前のファイルを作成します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5414
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5415
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5416
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5417
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5418
'<font size="\-1"><a href="http://java.sun.com/cgi\-bin/bugreport.cgi">Submit a 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5419
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5420
bug or feature</a><br><br>Java is a trademark or registered trademark of 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5421
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5422
Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993\-2000 Sun 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5423
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5424
Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A. 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5425
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5426
All Rights Reserved.</font>'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5427
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5428
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5429
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5430
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5431
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5432
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5433
そのあと、次のようにして Javadoc ツールを実行します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5434
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5435
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5436
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5437
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5438
  % \fP\f3javadoc \-bottom @bottom @packages\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5439
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5440
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5441
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5442
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5443
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5444
また、引数ファイルの先頭に \f2\-bottom\fP オプションを組み込んでおけば、次のようにして実行できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5445
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5446
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5447
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5448
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5449
  % \fP\f3javadoc @bottom @packages\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5450
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5451
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5452
.SH "名前"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5453
実行
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5454
.SH "Javadoc の実行"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5455
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5456
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5457
\f3バージョン番号\fP \- javadoc のバージョン番号を判別するには、\f3javadoc \-J\-version\fP を使用します。出力ストリームには標準ドックレットのバージョン番号が含まれます。\f2\-quiet\fP で無効にできます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5458
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5459
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5460
\f3公開プログラムインタフェース\fP \- Java 言語で記述されたプログラムから Javadoc ツールを起動するとき使用します。このインタフェースは \f2com.sun.tools.javadoc.Main\fP にあります (javadoc は再入可能)。詳細は、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5461
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5462
\f2「標準ドックレット」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5463
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5464
http://java.sun.com/javase/6/docs/technotes/guides/javadoc/standard\-doclet.html#runningprogrammaticallyを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5465
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5466
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5467
\f3ドックレットの実行\fP \- 下記の説明は、標準 HTML ドックレットを呼び出すためのものです。カスタムドックレットを呼び出すには、\-doclet および \-docletpath オプションを使用します。特定のドックレットを実行した完全な例については、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5468
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5469
\f2MIF Doclet のドキュメント\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5470
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5471
http://java.sun.com/j2se/javadoc/mifdoclet/docs/mifdoclet.htmlを参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5472
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5473
.SH "簡単な例"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5474
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5475
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5476
javadoc は、パッケージ全体に対して実行することも、個々のソースファイルに対して実行することもできます。各パッケージ名は、それぞれのパッケージ名に対応するディレクトリ名を持ちます。次の例では、ソースファイルは \f2/home/src/java/awt/*.java\fP にあります。生成先ディレクトリは \f2/home/html\fP です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5477
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5478
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5479
1 つ以上のパッケージのドキュメント化
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5480
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5481
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5482
パッケージをドキュメント化するには、そのパッケージのソースファイル (\f2*.java\fP) が、パッケージと同じ名前を持つディレクトリ内に存在していなければなりません。パッケージ名が複数の識別子で構成されている (\f2java.awt.color\fP のように、各識別子はドットで区切られている) 場合は、後続の各識別子が下位のサブディレクトリに対応していなければなりません (\f2java/awt/color\fP など)。1 つのパッケージのための複数のソースファイルを、異なる場所にある 2 つのディレクトリツリーに分けて格納することも可能です (\f2src1/java/awt/color\fP と \f2src2/java/awt/color\fP など)。 ただし、その場合は、\f2\-sourcepath\fP によって、その両方の場所を指定しなければなりません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5483
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5484
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5485
javadoc を実行するには、\f2cd\fP コマンドを使ってディレクトリを変更するか、または \f2\-sourcepath\fP オプションを使用します。以下の例では、両方の方法について説明します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5486
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5487
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5488
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5489
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5490
\f3ケース 1 \- 1 つ以上のパッケージからの起動を再帰的に実行\fP \- この例では javadoc が任意のディレクトリから実行できるように、\-sourcepath を使用し、再帰的処理のために \-subpackages (1.4 の新オプション) を使用します。これは、\f2java\fP のサブパッケージ (\f2java.net\fP および \f2java.lang\fP をルートとするパッケージを除く) を処理します。ただし、\f2java.lang\fP のサブパッケージである \f2java.lang.ref\fP は除外されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5491
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5492
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5493
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5494
  % \fP\f3javadoc \fP\f3\-d\fP\f3 /home/html \fP\f3\-sourcepath\fP\f3 /home/src \fP\f3\-subpackages\fP\f3 java \fP\f3\-exclude\fP\f3 java.net:java.lang\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5495
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5496
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5497
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5498
その他のパッケージツリーを巡回するには、\f2java:javax:org.xml.sax\fP のように、\f2\-subpackages\fP 引数にその名前を追加します。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5499
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5500
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5501
\f3ケース 2 \- ルートソースディレクトリに移ってから明示的なパッケージに対して実行\fP \- 完全指定のパッケージ名の親ディレクトリに移ります。次に、ドキュメント化する 1 つ以上のパッケージ名を指定して javadoc を実行します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5502
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5503
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5504
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5505
  % \fP\f3cd /home/src/\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5506
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5507
  % \f3javadoc \-d /home/html java.awt java.awt.event\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5508
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5509
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5510
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5511
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5512
\f3ケース 3 \- 任意のディレクトリから実行。 ソースファイルは 1 つのディレクトリツリー内にある\fP \- このケースでは、現在のディレクトリがどこであってもかまいません。最上位パッケージの親ディレクトリを \f2\-sourcepath\fP に指定し、ドキュメント化する 1 つ以上のパッケージ名を指定して javadoc を実行します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5513
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5514
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5515
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5516
  % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt java.awt.event\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5517
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5518
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5519
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5520
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5521
\f3ケース 4 \- 任意のディレクトリから実行。 ソースファイルは複数のディレクトリツリー内にある\fP \- これはケース 3 と似ていますが、パッケージが複数のディレクトリツリーに存在します。それぞれのツリーのルートへのパスを \f2\-sourcepath\fP に指定し (コロンで区切る)、ドキュメント化する 1 つ以上のパッケージ名を指定して javadoc を実行します。1 つのパッケージのすべてのソースファイルが、1 つのルートディレクトリの下に存在しなければならない、ということはありません。 ソースパスとして指定された場所のどこかで見つかれば十分です。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5522
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5523
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5524
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5525
  % \fP\f3javadoc \-d /home/html \-sourcepath /home/src1:/home/src2 java.awt java.awt.event\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5526
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5527
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5528
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5529
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5530
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5531
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5532
結果: 上記のどのケースでも、\f2java.awt\fP と \f2java.awt.event\fP パッケージ内の public および protected クラスとインタフェースについて、HTML 形式のドキュメントが生成され、指定された生成先ディレクトリ (\f2/home/html\fP) に HTML ファイルが保存されます。2 つ以上のパッケージが生成されているので、ドキュメントは、パッケージのリスト、クラスのリスト、およびメインのクラスページという 3 つのフレームを持つことになります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5533
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5534
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5535
1 つ以上のクラスのドキュメント化
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5536
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5537
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5538
また、1 つ以上のソースファイル (\f2.java\fP) を渡して、Javadoc ツールを実行することもできます。javadoc は、次の 2 つのどちらかの方法で実行できます。 1 つは、\f2cd\fP コマンドでディレクトリを変更する方法、もう 1 つは \f2.java\fP ファイルへのパスを完全指定する方法です。相対パスは、現在のディレクトリを起点とします。ソースファイル名を渡すときは、\f2\-sourcepath\fP オプションは無視されます。アスタリスク (*) のようなコマンド行ワイルドカードを使用すると、クラスのグループを指定できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5539
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5540
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5541
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5542
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5543
\f3ケース 1 \- ソースディレクトリに移る\fP \- \f2.java\fP ファイルのあるディレクトリに移ります。次に、ドキュメント化する 1 つ以上のソースファイルの名前を指定して javadoc を実行します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5544
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5545
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5546
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5547
  % \fP\f3cd /home/src/java/awt\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5548
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5549
  % \f3javadoc \-d /home/html Button.java Canvas.java Graphics*.java\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5550
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5551
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5552
この例では、クラス \f2Button\fP と \f2Canvas\fP、および名前が \f2Graphics\fP で始まるクラスについて、HTML 形式のドキュメントが生成されます。パッケージ名ではなくソースファイルが javadoc に引数として渡されているので、ドキュメントは、クラスのリストとメインページという 2 つのフレームを持つことになります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5553
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5554
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5555
\f3ケース 2 \- パッケージのルートディレクトリに移る\fP \- これは、同じルート内にある複数のサブパッケージの個々のソースファイルをドキュメント化する場合に便利です。パッケージのルートディレクトリに移り、各ソースファイルを、ルートからのパスとともに指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5556
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5557
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5558
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5559
  % \fP\f3cd /home/src/\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5560
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5561
  % \f3javadoc \-d /home/html java/awt/Button.java java/applet/Applet.java\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5562
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5563
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5564
この例では、\f2Button\fP クラスおよび \f2Applet\fP クラスについて、HTML 形式のドキュメントが生成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5565
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5566
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5567
\f3ケース 3 \- 任意のディレクトリから\fP \- このケースでは、現在のディレクトリがどこであってもかまいません。ドキュメント化する \f2.java\fP ファイルへの絶対パス (または、現在のディレクトリからの相対パス) を指定して javadoc を実行します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5568
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5569
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5570
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5571
  % \fP\f3javadoc \-d /home/html /home/src/java/awt/Button.java /home/src/java/awt/Graphics*.java\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5572
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5573
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5574
この例では、クラス \f2Button\fP と、名前が \f2Graphics\fP で始まるクラスについて、HTML 形式のドキュメントが生成されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5575
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5576
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5577
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5578
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5579
パッケージとクラスのドキュメント化
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5580
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5581
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5582
パッケージ全体と個々のクラスを同時に指定してドキュメント化することもできます。次に前述の 2 つの例を組み合わせた例を示します。\f2\-sourcepath\fP は、パッケージへのパスに対しては使用できますが、個々のクラスのパスに対しては使用できません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5583
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5584
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5585
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5586
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5587
  % \fP\f3javadoc \-d /home/html \-sourcepath /home/src java.awt /home/src/java/applet/Applet.java\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5588
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5589
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5590
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5591
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5592
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5593
この例では、パッケージ \f2java.awt\fP と、クラス \f2Applet\fP について、HTML 形式のドキュメントが生成されます。Javadoc ツールは、\f2Applet\fP のパッケージ名を、\f2Applet.java\fP ソースファイル内のパッケージ宣言 (その宣言がある場合) から判別します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5594
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5595
.SH "使用例"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5596
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5597
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5598
Javadoc ツールには多くの便利なオプションがあり、その中にはほかのオプションよりも頻繁に使われるものがあります。ここで紹介するのは、Java プラットフォーム API に対して Javadoc ツールを実行するときに使用する実際のコマンドです。Java 2 Platform, Standard Edition, v1.2 に存在する、約 1500 個の public および protected クラスについてドキュメントを生成するために、180M バイトのメモリーを使用しました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5599
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5600
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5601
同じ例を 2 回掲載します。 最初の例はコマンド行から実行するもので、2 番目の例は Makefile から実行するものです。オプションの引数に絶対パスを使用しているため、任意のディレクトリからこの \f2javadoc\fP コマンドを実行できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5602
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5603
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5604
コマンド行の例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5605
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5606
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5607
次のコマンド行の例は 900 文字を超えているため、DOS などのシェルには大きすぎます。この制限を回避するには、コマンド行引数ファイルを使用します。 または、シェルスクリプトを記述します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5608
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5609
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5610
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5611
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5612
% javadoc \-sourcepath /java/jdk/src/share/classes            \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5613
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5614
    \-overview /java/jdk/src/share/classes/overview.html      \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5615
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5616
    \-d /java/jdk/build/api                                   \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5617
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5618
    \-use                                                     \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5619
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5620
    \-splitIndex                                              \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5621
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5622
    \-windowtitle 'Java 2 Platform 5.0 API Specification'    \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5623
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5624
    \-doctitle 'Java(TM) 2 Platform 5.0 API Specification' \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5625
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5626
    \-header '<b>Java 2 Platform </b><br><font size="\-1">5.0</font>' \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5627
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5628
    \-bottom '<font size="\-1"><a href="http://java.sun.com/cgi\-bin/bugreport.cgi">Submit 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5629
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5630
a bug or feature</a><br><br>Java is a trademark or registered trademark of Sun Microsystems, 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5631
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5632
Inc. in the US and other countries.<br>Copyright 1993\-1999 Sun Microsystems, Inc. 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5633
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5634
901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font>' \\  
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5635
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5636
    \-group "Core Packages" "java.*:com.sun.java.*:org.omg.*" \\ 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5637
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5638
    \-group "Extension Packages" "javax.*"                    \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5639
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5640
    \-J\-Xmx180m                                               \\  
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5641
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5642
    @packages
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5643
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5644
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5645
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5646
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5647
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5648
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5649
上記のコマンドで、\f2packages\fP は、処理対象のパッケージ名 (\f2java.applet java.lang\fP など) が入っているファイルの名前です。各オプションの、単一引用符で囲まれた引数の内側には、改行文字を挿入できません。たとえば、この例をコピー&ペーストする場合は、\f2\-bottom\fP オプションから改行文字を削除してください。さらに、このあとの「注」も参照してください。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5650
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5651
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5652
Makefile の例
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5653
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5654
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5655
ここでは、GNU Makefile の例を示します。Windows の Makefile の例については、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5656
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5657
\f2Windows の Makefile の作成方法\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5658
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5659
http://java.sun.com/j2se/javadoc/faq/index.html#makefilesを参照してください。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5660
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5661
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5662
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5663
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5664
javadoc \-\fP\f3sourcepath\fP\f3 $(SRCDIR)              \\   /* Sets path for source files     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5665
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5666
        \-\fP\f3overview\fP\f3 $(SRCDIR)/overview.html  \\   /* Sets file for overview text    */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5667
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5668
        \-\fP\f3d\fP\f3 /java/jdk/build/api             \\   /* Sets destination directory     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5669
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5670
        \-\fP\f3use\fP\f3                               \\   /* Adds "Use" files               */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5671
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5672
        \-\fP\f3splitIndex\fP\f3                        \\   /* Splits index A\-Z               */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5673
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5674
        \-\fP\f3windowtitle\fP\f3 $(WINDOWTITLE)        \\   /* Adds a window title            */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5675
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5676
        \-\fP\f3doctitle\fP\f3 $(DOCTITLE)              \\   /* Adds a doc title               */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5677
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5678
        \-\fP\f3header\fP\f3 $(HEADER)                  \\   /* Adds running header text       */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5679
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5680
        \-\fP\f3bottom\fP\f3 $(BOTTOM)                  \\   /* Adds text at bottom            */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5681
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5682
        \-\fP\f3group\fP\f3 $(GROUPCORE)                \\   /* 1st subhead on overview page   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5683
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5684
        \-\fP\f3group\fP\f3 $(GROUPEXT)                 \\   /* 2nd subhead on overview page   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5685
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5686
        \-\fP\f3J\fP\f3\-Xmx180m                         \\   /* Sets memory to 180MB           */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5687
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5688
        java.lang java.lang.reflect        \\   /* Sets packages to document      */
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5689
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5690
        java.util java.io java.net         \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5691
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5692
        java.applet
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5693
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5694
        
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5695
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5696
WINDOWTITLE = 'Java 2 Platform v1.2 API Specification'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5697
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5698
DOCTITLE = 'Java(TM) 2 Platform v1.2 API Specification'
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5699
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5700
HEADER = '<b>Java 2 Platform </b><br><font size="\-1">v1.2</font>'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5701
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5702
BOTTOM = '<font size="\-1"><a href="http://java.sun.com/cgi\-bin/bugreport.cgi">Submit
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5703
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5704
    a bug or feature</a><br><br>Java is a trademark or registered trademark 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5705
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5706
    of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993\-1999    
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5707
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5708
    Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5709
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5710
    All Rights Reserved.</font>'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5711
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5712
GROUPCORE = '"Core Packages" "java.*:com.sun.java.*:org.omg.*"'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5713
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5714
GROUPEXT  = '"Extension Packages" "javax.*"'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5715
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5716
SRCDIR = '/java/jdk/1.2/src/share/classes'
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5717
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5718
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5719
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5720
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5721
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5722
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5723
Makefile の引数は、単一引用符で囲みます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5724
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5725
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5726
\f3注\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5727
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5728
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5729
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5730
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5731
\f2\-windowtitle\fP オプションを省略すると、Javadoc ツールによって、ドキュメントタイトルがウィンドウタイトルにコピーされます。\f2\-windowtitle\fP のテキストは、基本的に \f2\-doctitle\fP と同じです。 ただし、HTML タグは使用しません。 HTML タグは、ウィンドウタイトルにそのままのテキストとして表示されてしまいます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5732
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5733
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5734
この例のように \f2\-footer\fP オプションを省略すると、Javadoc ツールによって、ヘッダーテキストがフッターにコピーされます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5735
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5736
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5737
この例では必要ありませんが、\-\f2classpath\fP および \-\f2link\fP も重要なオプションです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5738
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5739
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5740
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5741
.SH "トラブルシューティング"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5742
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5743
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5744
一般的なトラブルシューティング
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5745
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5746
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5747
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5748
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5749
\f3Javadoc FAQ\fP \- 一般的なバグおよびトラブルシューティングのヒントは、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5750
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5751
\f2「Javadoc FAQ」\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5752
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5753
http://java.sun.com/j2se/javadoc/faq/index.html#B で参照できます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5754
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5755
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5756
\f3バグおよび制限事項\fP \- バグの一部は、「Important Bug Fixes and Changes」 でも参照できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5757
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5758
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5759
\f3バージョン番号\fP \- 「バージョン番号」を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5760
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5761
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5762
\f3有効なクラスだけをドキュメント化\fP \- パッケージをドキュメント化するとき、Javadoc は、有効なクラス名で構成されているファイルのみを読み込みます。たとえば、ファイル名にハイフン「\-」を含めることで、javadoc によるファイルの解析を防ぐことができます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5763
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5764
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5765
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5766
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5767
エラーと警告
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5768
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5769
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5770
エラーおよび警告メッセージには、ファイル名と宣言行 (ドキュメンテーションコメント内の特定の行ではない) の行番号が含まれます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5771
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5772
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5773
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5774
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5775
\f2"error:cannot read:Class1.java"\fP Javadoc ツールはカレントディレクトリに Class1.java クラスをロードしようとしています。絶対パスまたは相対パスとともに表示されるクラス名は、この例の場合 \f2./Class1.java\fP と同じです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5776
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5777
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5778
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5779
.SH "環境"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5780
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5781
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5782
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5783
CLASSPATH 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5784
Javadoc がユーザークラスのファイルを探すときに使うパスを指定する環境変数です。この環境変数は、\f2\-classpath\fP オプションによってオーバーライドされます。ディレクトリは、次のようにコロンで区切ります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5785
.:/home/classes:/usr/local/java/classes 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5786
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5787
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5788
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5789
.SH "関連項目"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5790
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5791
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5792
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5793
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5794
javac(1) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5795
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5796
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5797
java(1) 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5798
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5799
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5800
jdb(1) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5801
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5802
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5803
javah(1) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5804
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5805
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5806
javap(1) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5807
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5808
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5809
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5810
\f2Javadoc のホームページ\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5811
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5812
http://java.sun.com/j2se/javadoc/index.jsp 
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5813
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5814
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5815
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5816
\f2How to Write Doc Comments for Javadoc\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5817
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5818
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5819
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5820
o
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5821
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5822
\f2クラスパスの設定\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5823
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5824
http://java.sun.com/javase/6/docs/technotes/tools/index.html#general 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5825
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5826
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5827
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5828
\f2javac と javadoc がクラスを検索する方法\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5829
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5830
http://java.sun.com/javase/6/docs/technotes/tools/findingclasses.html#srcfiles (tools.jar) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5831
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5832
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5833
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  5834
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  5835
javadoc は、Sun Microsystems, Inc の商標です (\f2javadoc\fP コマンド自体には商標シンボルは不要)。