Class PipedReadEdalFileThread
- java.lang.Object
-
- java.lang.Thread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.EdalThread
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.PipedReadEdalFileThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class PipedReadEdalFileThread extends EdalThread
Thread to read theInputStreamof aPrimaryDataFileto theOutputStreamof the HTTP response with the help of a piped stream.
-
-
Constructor Summary
Constructors Constructor Description PipedReadEdalFileThread(PrimaryDataFile currentFile, java.io.PipedOutputStream pipedOut)Create the thread and set thePrimaryDataFileto send and thePipedOutputStreamto write the file.
-
Method Summary
Modifier and Type Method Description voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
PipedReadEdalFileThread
public PipedReadEdalFileThread(PrimaryDataFile currentFile, java.io.PipedOutputStream pipedOut)
Create the thread and set thePrimaryDataFileto send and thePipedOutputStreamto write the file.- Parameters:
currentFile- thePrimaryDataFileto transferpipedOut- thePipedOutputStreamto write the file
-
-