coins.driver
クラス StreamCopier

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--coins.driver.StreamCopier
すべての実装インタフェース:
java.lang.Runnable

public class StreamCopier
extends java.lang.Thread

A thread to copy data from an incoming stream to an outgoing stream.


フィールドの概要
(パッケージプライベート)  java.io.InputStream fIn
           
(パッケージプライベート)  java.io.OutputStream fOut
           
 
クラス java.lang.Thread から継承したフィールド
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
コンストラクタの概要
StreamCopier(java.io.InputStream in, java.io.OutputStream out)
          Constructs a copying thread instance.
 
メソッドの概要
 void go()
          Starts copying and waits to finish.
 void run()
          Starts copying.
 
クラス java.lang.Thread から継承したメソッド
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

fIn

java.io.InputStream fIn

fOut

java.io.OutputStream fOut
コンストラクタの詳細

StreamCopier

public StreamCopier(java.io.InputStream in,
                    java.io.OutputStream out)
Constructs a copying thread instance.

パラメータ:
in - an incoming stream
out - an outgoing stream
メソッドの詳細

run

public void run()
Starts copying.

定義:
インタフェース java.lang.Runnable 内の run
オーバーライド:
クラス java.lang.Thread 内の run

go

public void go()
Starts copying and waits to finish.