|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Thread
jp.ossc.installer.gui.thread.InputStreamThread
public class InputStreamThread
InputStremを監視するスレッドクラスです。
Runtime.execメソッドは、親プロセスが子プロセスの読み取り続けない場合
(※ 512byteまでは大丈夫な模様)
Process.waitFor()がデッドロックを発生するため
入れ子のクラスの概要 |
---|
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
フィールドの概要 |
---|
クラス java.lang.Thread から継承されたフィールド |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
コンストラクタの概要 | |
---|---|
InputStreamThread(java.io.InputStream lInputStream)
コンストラクター |
メソッドの概要 | |
---|---|
LogInputStream |
getLogInputStream()
InputStreamから取得した文字列を格納するStreamを取得する |
boolean |
isWatched()
監視しているかどうか |
void |
run()
実行 |
void |
stopThread()
監視を中断する ※ 即時には止まりません。 |
クラス 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 InputStreamThread(java.io.InputStream lInputStream)
lInputStream
- 監視するInputStreamメソッドの詳細 |
---|
public LogInputStream getLogInputStream()
public boolean isWatched()
public void stopThread()
public void run()
java.lang.Runnable
内の run
java.lang.Thread
内の run
Runnable.run()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |