|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.opengion.hayabusa.report2.SOfficeProcess
org.opengion.hayabusa.report2.SOfficeProcessTcp
public final class SOfficeProcessTcp
OpenOfficeのプロセスを表すクラスです。
このクラスでは、TCPによりプロセスに接続を行います。
基本的には、パイプ名による接続(SOfficeProcess
)を利用すべきですが、
x64環境で、64Bit版のJavaを起動した場合、パイプ接続では、UnsatisfiedLinkErrorが発生します。
このような場合では、TCP接続を利用することで、上記エラーを回避することができます。
フィールドの概要 |
---|
クラス org.opengion.hayabusa.report2.SOfficeProcess から継承されたフィールド |
---|
ENV_DIR, OFFICE_HOME |
コンストラクタの概要 | |
---|---|
protected |
SOfficeProcessTcp(java.lang.String id,
int initPort)
コンストラクタです。 |
メソッドの概要 | |
---|---|
void |
close()
プロセスを終了します。 |
protected java.lang.String |
getConnParam(java.lang.String key)
Pipe名をキーにOpenOfficeのプロセスに接続するための文字列を生成します。 |
protected java.lang.String |
getProcParam(java.lang.String key)
Pipe名をキーにOpenOfficeのプロセスを生成するためのパラメーター文字列を生成します。 |
クラス org.opengion.hayabusa.report2.SOfficeProcess から継承されたメソッド |
---|
bootstrap, getDesktop, getDispatcher, getTempPath |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
protected SOfficeProcessTcp(java.lang.String id, int initPort)
id
- StringinitPort
- intメソッドの詳細 |
---|
protected java.lang.String getConnParam(java.lang.String key)
SOfficeProcess
内の getConnParam
key
- Pipe名(無視されます)
protected java.lang.String getProcParam(java.lang.String key)
SOfficeProcess
内の getProcParam
key
- Pipe名(無視されます)
public void close()
SOfficeProcess
内の close
|
openGion 5.4.3.2 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |