public class StreetsideExportWriterThread extends java.lang.Thread
StreetsideExportManager| Modifier and Type | Field and Description |
|---|---|
private int |
amount |
(package private) static org.apache.log4j.Logger |
logger |
private org.openstreetmap.josm.gui.progress.ProgressMonitor |
monitor |
private java.lang.String |
path |
private java.util.concurrent.ArrayBlockingQueue<java.awt.image.BufferedImage> |
queue |
private java.util.concurrent.ArrayBlockingQueue<StreetsideAbstractImage> |
queueImages |
| Constructor and Description |
|---|
StreetsideExportWriterThread(java.lang.String path,
java.util.concurrent.ArrayBlockingQueue<java.awt.image.BufferedImage> queue,
java.util.concurrent.ArrayBlockingQueue<StreetsideAbstractImage> queueImages,
int amount,
org.openstreetmap.josm.gui.progress.ProgressMonitor monitor)
Main constructor.
|
| 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, yieldstatic final org.apache.log4j.Logger logger
private final java.lang.String path
private final java.util.concurrent.ArrayBlockingQueue<java.awt.image.BufferedImage> queue
private final java.util.concurrent.ArrayBlockingQueue<StreetsideAbstractImage> queueImages
private final int amount
private final org.openstreetmap.josm.gui.progress.ProgressMonitor monitor
public StreetsideExportWriterThread(java.lang.String path, java.util.concurrent.ArrayBlockingQueue<java.awt.image.BufferedImage> queue, java.util.concurrent.ArrayBlockingQueue<StreetsideAbstractImage> queueImages, int amount, org.openstreetmap.josm.gui.progress.ProgressMonitor monitor)
path - Path to write the pictures.queue - Queue of StreetsideAbstractImage objects.queueImages - Queue of BufferedImage objects.amount - Amount of images that are going to be exported.monitor - Progress monitor.public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread