Package edu.wisc.ssec.mcidasv.util
Class BackgroundUnzipper
- All Implemented Interfaces:
Runnable,Future<Long>,RunnableFuture<Long>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValueNested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final org.slf4j.Loggerprivate final ActionListenerprivate final Timerprivate longprivate final Stringprivate ZipInputStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Longprivate InputStreamgetInputStream(String path) longprotected voidMethods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
logger
-
zipFile
-
countingStream
-
zipStream
-
totalSize
-
currentEntry
-
taskPerformer
-
taskTimer
-
-
Constructor Details
-
BackgroundUnzipper
-
-
Method Details
-
getCurrentBytes
-
getCurrentEntry
-
getPercentage
-
doInBackground
- Specified by:
doInBackgroundin classSwingWorker<Long,Long> - Throws:
Exception
-
process
- Overrides:
processin classSwingWorker<Long,Long>
-
getInputStream
-