protected class GoogleDriveRepositoryConnector.DocumentReadingThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected Throwable |
exception |
protected String |
fileURL |
protected XThreadInputStream |
stream |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
GoogleDriveRepositoryConnector.DocumentReadingThread(String fileURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishUp() |
InputStream |
getSafeInputStream() |
void |
run() |
activeCount, checkAccess, clone, 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, yieldprotected Throwable exception
protected final String fileURL
protected final XThreadInputStream stream
public GoogleDriveRepositoryConnector.DocumentReadingThread(String fileURL)
public InputStream getSafeInputStream()
public void finishUp()
throws InterruptedException,
IOException
InterruptedExceptionIOException