|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.co.intra_mart.foundation.scenario.FunctionContainer jp.co.intra_mart.foundation.scenario.FunctionContainerFile
FunctionContainerFile クラスは、ファンクション・コンテナとなるファイルを
コンパイルして実行可能な環境を提供します。
ファイルは Resource Service によって管理されているものに限ります。
FunctionContainer
コンストラクタの概要 | |
FunctionContainerFile(String path)
ファンクション・コンテナをコンパイルします。 |
|
FunctionContainerFile(String path,
Locale locale)
ファンクション・コンテナをコンパイルします。 |
メソッドの概要 | |
String |
sourceName()
スクリプトのファイルパス名を返します。 |
クラス jp.co.intra_mart.foundation.scenario.FunctionContainer から継承したメソッド |
compileReader, compileString, execute, execute |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public FunctionContainerFile(String path, Locale locale) throws IOException, ScriptCompileException
このコンストラクタの呼び出しは、以下と同様です。
new FunctionContainerFile(path,
java.util.Locale.getDefault()
)
path
- ソースファイルのパス名locale
- ソースのロケール
IOException
- Reader の入出力エラー
ScriptCompileException
- コンパイルエラーpublic FunctionContainerFile(String path) throws IOException, ScriptCompileException
ファンクション・コンテナのファイルパスは、Resource Service が
管理しているリソースルートディレクトリ(標準では pages/)からの
相対形式で指定して下さい。
例)
new FunctionContainerFile("my/container/library.js")
path
- ソースファイルのパス名
IOException
- Reader の入出力エラー
ScriptCompileException
- コンパイルエラーメソッドの詳細 |
public String sourceName()
FunctionContainer
内の sourceName
|
intra-mart 6.1.14 | ||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |