|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.opengion.fukurou.taglet.DocletUtil
public final class DocletUtil
Doclet を処理するプログラムで共通して使用される簡易メソッド群(ユーティリティクラス)です。
フィールドの概要 | |
---|---|
static String |
CR
リターンコード System.getProperty("line.separator") |
メソッドの概要 | |
---|---|
static String |
doc03LinkTag(com.sun.javadoc.Tag tag)
{@og.doc03Link queryType Query_**** クラス} 形式のdoc03Linkタグをリンク文字列に置き換えます。 |
static String |
getOption(String key,
String[][] options)
オプション配列文字列より、指定のキーに対応するオプション値を返します。 |
static String |
getStaticField(String cls,
String fld)
パッケージ.クラス名 と、フィールド名 から、staticフィールドの値を取得します。 |
static String |
removeSetter(String target)
セッターメソッドの setXXXX の set を削除し、次の文字を小文字化します。 |
static String |
replace(String target,
String from,
String to)
target 文字列に含まれる from 文字列を to 文字列に置き換えます。 |
static String |
valueTag(com.sun.javadoc.Tag tag)
{@og.value package.class#field} 形式のvalueタグを文字列に置き換えます。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final String CR
メソッドの詳細 |
---|
public static String replace(String target, String from, String to)
target
- 元の文字列from
- 置換元FROMto
- 置換先TO
public static String removeSetter(String target)
target
- 処理対象となる文字列
public static String getOption(String key, String[][] options)
key
- キーoptions
- オプション配列文字列
public static String valueTag(com.sun.javadoc.Tag tag)
tag
- Tagオブジェクト
5.5.4.1 (2012/07/06) 新規追加 |
5.5.5.6 (2012/08/31) クラス名の取得で、ProgramElementDoc で処理するように変更 |
public static String doc03LinkTag(com.sun.javadoc.Tag tag)
tag
- Tagオブジェクト
5.6.3.3 (2013/04/19) 新規作成 |
public static String getStaticField(String cls, String fld)
cls
- パッケージ.クラス名fld
- フィールド名
5.6.3.3 (2013/04/19) 新規作成 |
|
openGion 5.8.2.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |