|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object
|
+--com.infoteria.asteria.flowlibrary2.property.ValueProperty
|
+--com.infoteria.asteria.flowlibrary2.property.StringProperty
|
+--com.infoteria.asteria.flowlibrary2.property.PathResolverProperty
ファイルパスを解決するプロパティです。
| フィールドの概要 | |
static int |
INVALID
不正なプロパティ値 |
static int |
OWNER_HOME
Mode - 相対パスの起点がホームディレクトリ |
static int |
RELATIVE
Mode - 相対パスの起点がプロジェクトフォルダ |
static String |
STR_EXECUTE_USER
相対パスの起点が実行ユーザーのホームディレクトリであることをあらわす文字列(ExecuteUser) |
static String |
STR_PROJECT_OWNER
相対パスの起点がホームディレクトリであることをあらわす文字列(ProjectOwner) |
static String |
STR_RELATIVE
相対パスの起点がプロジェクトフォルダであることをあらわす文字列(Relative) |
static int |
USER_HOME
Mode - 相対パスの起点が実行ユーザーのホームディレクトリ |
| コンストラクタの概要 | |
PathResolverProperty(String name,
String defValue)
プロパティ名とデフォルト値を指定してPathResolverPropertyを作成します。 |
|
| メソッドの概要 | |
void |
assign(Property prop)
|
File |
getExistFile(ExecuteContext context,
String path)
pathの表すFileオブジェクトを返します。 |
File |
getFile(ExecuteContext context,
String str)
strの表すFileオブジェクトを返します。 |
String |
getFilePath(ExecuteContext context,
String path)
pathの表すFileの絶対パスをStringで返します。 |
int |
getMode()
モードを返します。 |
boolean |
isAllowAbsolute()
絶対パスの使用を許すかどうかを返します。 |
boolean |
isAllowUpDir()
「..」の使用を許すかどうかを返します。 |
void |
setAllowAbsolute(boolean b)
絶対パスの使用を許すかどうかを設定します。 |
void |
setAllowUpDir(boolean b)
「..」の使用を許すかどうかを設定します。 |
void |
setString(String str)
|
| クラス com.infoteria.asteria.flowlibrary2.property.StringProperty から継承したメソッド |
setValue, strValue |
| クラス com.infoteria.asteria.flowlibrary2.property.ValueProperty から継承したメソッド |
clone, getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, setRequired, toString |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int INVALID
public static final int RELATIVE
public static final int OWNER_HOME
public static final int USER_HOME
public static final String STR_RELATIVE
public static final String STR_PROJECT_OWNER
public static final String STR_EXECUTE_USER
| コンストラクタの詳細 |
public PathResolverProperty(String name,
String defValue)
| メソッドの詳細 |
public boolean isAllowAbsolute()
public void setAllowAbsolute(boolean b)
public boolean isAllowUpDir()
public void setAllowUpDir(boolean b)
public void setString(String str)
throws PropertyException
ValueProperty の記述: ValueProperty 内の setStringcom.infoteria.asteria.flowlibrary2.property.ValueProperty からコピーされたタグ:str - プロパティ値として設定される文字列public int getMode()
public File getFile(ExecuteContext context,
String str)
throws PropertyException
public File getExistFile(ExecuteContext context,
String path)
throws PropertyException,
FileNotFoundException
public String getFilePath(ExecuteContext context,
String path)
throws PropertyException
public void assign(Property prop)
Property の記述: ValueProperty 内の assign
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||