public class ImageDecoderThread extends Thread
Decoding errors result in a log message and the result is null.
Creating an ImageDocoderThread object with a null or empty bytearray result in a null
value for g #getBufferedImage()
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ImageDecoderThread(byte[] bytes,
String location,
GeneralEnvelope dbTileEnvelope,
GeneralEnvelope requestEnvelope,
ImageLevelInfo levelInfo,
LinkedBlockingQueue<TileQueueElement> tileQueue)
Decoder thread.
|
| Modifier and Type | Method and Description |
|---|---|
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 static final Logger LOGGER
public ImageDecoderThread(byte[] bytes,
String location,
GeneralEnvelope dbTileEnvelope,
GeneralEnvelope requestEnvelope,
ImageLevelInfo levelInfo,
LinkedBlockingQueue<TileQueueElement> tileQueue)
bytes - the image byteslocation - the tile namedbTileEnvelope - the georeferencing information for the tilerequestEnvelope - the requested envelopelevelInfo - the proper levelInfotileQueue - the queue where to put the resultCopyright © 1996–2021 Geotools. All rights reserved.