|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.property.ValueProperty
|
+--com.infoteria.asteria.flowlibrary2.property.StringProperty
|
+--com.infoteria.asteria.flowlibrary2.property.FilePathProperty
StringPropertyを拡張してFilePathの設定に特化したクラスです。
HomeModeを設定することにより相対パスを設定されたユーザのHomeDirectoryで補完したパスを取得できます。
| Field Summary | |
static int |
HOME_OWNER
Deprecated. setHomeModeで使用するシンボル - ProjectOwner |
static int |
HOME_USER
Deprecated. setHomeModeで使用するシンボル - ExecuteUser |
static java.lang.String |
STR_HOME_OWNER
Deprecated. setHomeModeで使用するシンボル - ProjectOwner |
static java.lang.String |
STR_HOME_USER
Deprecated. setHomeModeで使用するシンボル - ExecuteUser |
| Constructor Summary | |
FilePathProperty(java.lang.String name)
Deprecated. FilePathProperty(name, false, true, null) と同じです。 |
|
FilePathProperty(java.lang.String name,
boolean required)
Deprecated. FilePathProperty(name, required, true, null) と同じです。 |
|
FilePathProperty(java.lang.String name,
boolean required,
boolean mapable)
Deprecated. FilePathProperty(name, required, mapable, null) と同じです。 |
|
FilePathProperty(java.lang.String name,
boolean required,
boolean mapable,
java.lang.String value)
Deprecated. コンストラクタ |
|
| Method Summary | |
void |
assign(Property prop)
Deprecated. |
java.io.File |
getExistFile(ExecuteContext context)
Deprecated. ファイルを取得します。 設定されているファイル名が相対パスの場合はHomeModeの設定値にしたがってユーザのホームディレクトリを補完します。 そのファイルが存在しない場合はExceptionとなります。 |
java.io.File |
getFile(ExecuteContext context)
Deprecated. ファイルを取得します。 設定されているファイル名が相対パスの場合はHomeModeの設定値にしたがってユーザのホームディレクトリを補完します。 |
java.lang.String |
getFileName(ExecuteContext context)
Deprecated. ファイル名を取得します。 設定されているファイル名が相対パスの場合はHomeModeの設定値にしたがってユーザのホームディレクトリを補完します。 |
int |
getHomeMode()
Deprecated. HomeModeを取得します。 |
static int |
getHomeModeFromString(java.lang.String str)
Deprecated. 文字列のHomeModeをintに変換します。 |
void |
setHomeMode(int value)
Deprecated. HomeModeを設定します。 設定値にはstaticで宣言されているシンボルを使用します。 |
void |
setHomeMode(java.lang.String str)
Deprecated. |
| Methods inherited from class com.infoteria.asteria.flowlibrary2.property.StringProperty |
setValue, strValue |
| Methods inherited from class com.infoteria.asteria.flowlibrary2.property.ValueProperty |
clone, getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, resetMacro, setRequired, setString, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int HOME_OWNER
public static final int HOME_USER
public static final java.lang.String STR_HOME_OWNER
public static final java.lang.String STR_HOME_USER
| Constructor Detail |
public FilePathProperty(java.lang.String name)
public FilePathProperty(java.lang.String name,
boolean required)
public FilePathProperty(java.lang.String name,
boolean required,
boolean mapable)
public FilePathProperty(java.lang.String name,
boolean required,
boolean mapable,
java.lang.String value)
name - プロパティ名required - このプロパティが必須プロパティの場合はtruemapable - このプロパティがMapping可能な場合はtruevalue - デフォルト値| Method Detail |
public int getHomeMode()
public void setHomeMode(int value)
public void setHomeMode(java.lang.String str)
public static int getHomeModeFromString(java.lang.String str)
public java.lang.String getFileName(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合
public java.io.File getFile(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合
public java.io.File getExistFile(ExecuteContext context)
throws PropertyException
PropertyException - HomeMode=ExecuteUserで実行ユーザが設定されていない場合public void assign(Property prop)
Propertyassign in class ValueProperty
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||