net.createform
クラス CreateFormRuntime

java.lang.Object
  上位を拡張 net.createform.CreateFormRuntime
すべての実装されたインタフェース:
Runtime
直系の既知のサブクラス:
CCast, CCollect, CPrint, CPrintST, CPrintSTCompress

public abstract class CreateFormRuntime
extends java.lang.Object
implements Runtime

ランタイムの基本的な処理とファクトリメソッドを持つクラスです。 このクラスは各ランタイムクラスのスーパークラスです。 このクラスのインスタンスを生成することはできません。 このクラスのファクトリメソッドを使用して、ランタイムクラスのインスタンスを生成できます。

        // コマンドラインパラメータの設定
        RuntimeParam param = new RuntimeParam();
        param.setWorkDir("/somewhere/work_dir");
        param.setStyleFile("sample.sty");
        param.setOutFile("/somewhere/outfile_dir/sample.pdf");
        param.setDataFile("/somewhere/datafile_dir/sample.csv");

        // Castランタイムの実行
        CCast libcall = new CCast();
        int RetVal = libcall.executeRuntime(param);
        

導入されたバージョン:
v10.0


フィールドの概要
static java.lang.String CREATE_INIFILE
          Create!
 
コンストラクタの概要
CreateFormRuntime()
           
 
メソッドの概要
static Runtime createRuntime(java.lang.String classname)
           classnameに指定したランタイムのインスタンスを生成します。
 int executeRuntime(RuntimeParam param)
           ランタイムを実行します。
static void main(java.lang.String[] args)
           CreateFormLib.jar バージョン情報確認(パラメータ「--」)
 int synchronizedExecuteRuntime(RuntimeParam param)
           ランタイムを排他実行します。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

CREATE_INIFILE

public static final java.lang.String CREATE_INIFILE
Create!のINIファイル名

関連項目:
定数フィールド値
コンストラクタの詳細

CreateFormRuntime

public CreateFormRuntime()
メソッドの詳細

main

public static void main(java.lang.String[] args)
 CreateFormLib.jar バージョン情報確認(パラメータ「--」)
 

パラメータ:
args - コマンドラインからの入力パラメータ文字列

createRuntime

public static Runtime createRuntime(java.lang.String classname)
 classnameに指定したランタイムのインスタンスを生成します。
 

パラメータ:
classname - 完全なクラス名。指定できるクラスはこのクラスのサブクラスのみです。
戻り値:
classname のインスタンス
例外:
java.lang.IllegalArgumentException - classnameがCreateFormRuntimeクラスのサブクラスでない場合
関連項目:
CCast, CCollect, CPrint, CPrintST, CPrintSTCompress

executeRuntime

public int executeRuntime(RuntimeParam param)
 ランタイムを実行します。
 

定義:
インタフェース Runtime 内の executeRuntime
パラメータ:
param - ランタイムに渡すパラメータ
戻り値:
正常終了時:0 異常終了時:負数

synchronizedExecuteRuntime

public int synchronizedExecuteRuntime(RuntimeParam param)
 ランタイムを排他実行します。
 入力データにXMLデータ、もしくはデータベース直接連携でランタイムを実行する場合はランタイムを排他実行してください。
 

定義:
インタフェース Runtime 内の synchronizedExecuteRuntime
パラメータ:
param - ランタイムに渡すパラメータ
戻り値:
正常終了時:0 異常終了時:負数