|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Thread
jp.ossc.installer.gui.thread.ProcessThread
public class ProcessThread
外部実行ファイルを別スレッドで実行するクラスです。
入れ子のクラスの概要 |
---|
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
フィールドの概要 |
---|
クラス java.lang.Thread から継承されたフィールド |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
コンストラクタの概要 | |
---|---|
ProcessThread(java.lang.String[] args,
java.lang.String[] envp)
コンストラクター |
メソッドの概要 | |
---|---|
LogInputStream |
getErrorInputStream()
エラー発生時の実行結果が保存されたStreamを取得する |
int |
getExitValue()
終了コードを取得する |
LogInputStream |
getLogInputStream()
実行結果が保存されたStreamを取得する |
protected void |
outputArgsAndEnvp()
環境変数をログに出力する |
protected void |
outputDebugLog(java.lang.String log)
デバッグログを取得する |
void |
run()
実行 |
protected java.lang.Process |
runtimeExec()
外部実行ファイルの実行 |
クラス java.lang.Thread から継承されたメソッド |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public ProcessThread(java.lang.String[] args, java.lang.String[] envp)
args
- 実行するコマンドと引数envp
- 実行する際の環境変数メソッドの詳細 |
---|
public LogInputStream getLogInputStream()
public LogInputStream getErrorInputStream()
public int getExitValue()
public void run()
java.lang.Runnable
内の run
java.lang.Thread
内の run
Runnable.run()
protected java.lang.Process runtimeExec()
protected void outputArgsAndEnvp()
protected void outputDebugLog(java.lang.String log)
log
- 出力文字列
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |