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 theInputStream
of aPrimaryDataFile
to theOutputStream
of 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 thePrimaryDataFile
to send and thePipedOutputStream
to write the file.
-
Method Summary
Modifier and Type Method Description void
run()
-
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 thePrimaryDataFile
to send and thePipedOutputStream
to write the file.- Parameters:
currentFile
- thePrimaryDataFile
to transferpipedOut
- thePipedOutputStream
to write the file
-
-