|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.apache.tools.ant.types.EnumeratedAttribute jp.hishidama.ant.types.htlex.StringOpeEnum
public class StringOpeEnum
文字列置換クラス.
文字列の置換を行うクラス。
フィールドの概要 | |
---|---|
static String |
EVAL
"evaluate":演算 |
static String |
LET
"let":単純代入(置換) |
static String |
REP_ALL
"replaceAll":全置換 |
static String |
REP_FIRST
"replaceFirst":先頭文字列のみ置換 |
コンストラクタの概要 | |
---|---|
StringOpeEnum()
|
|
StringOpeEnum(String s)
|
メソッドの概要 | |
---|---|
String |
convert(String s,
String n)
変換実行. |
String[] |
getValues()
|
void |
setProject(org.apache.tools.ant.Project project)
|
void |
validate(MatchEnum me,
org.apache.tools.ant.Location loc)
精査実行. |
クラス org.apache.tools.ant.types.EnumeratedAttribute から継承されたメソッド |
---|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
public static final String LET
public static final String REP_FIRST
Matcher.replaceFirst(String)
,
定数フィールド値public static final String REP_ALL
Matcher.replaceAll(String)
,
定数フィールド値public static final String EVAL
コンストラクタの詳細 |
---|
public StringOpeEnum()
public StringOpeEnum(String s)
メソッドの詳細 |
---|
public void setProject(org.apache.tools.ant.Project project)
public String[] getValues()
org.apache.tools.ant.types.EnumeratedAttribute
内の getValues
public void validate(MatchEnum me, org.apache.tools.ant.Location loc) throws org.apache.tools.ant.BuildException
me
- マッチング方法loc
- データタイプ位置
org.apache.tools.ant.BuildException
- 精査エラー時public String convert(String s, String n)
s
- 変換元文字列n
- 変換先文字列
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |