public class ZipExtractorTask<C extends ApplicationContext> extends ExecutorTask<C>
ZipExtractor
asynchronously.childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
ZipExtractorTask(C ctx) |
ZipExtractorTask(C ctx,
LogChannel logCh) |
ZipExtractorTask(C ctx,
LogChannel logCh,
java.io.File targetDir) |
ZipExtractorTask(C ctx,
LogChannel logCh,
java.lang.String name) |
ZipExtractorTask(C ctx,
LogChannel logCh,
java.lang.String taskName,
java.io.File targetDir) |
ZipExtractorTask(C ctx,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected ZipExtractor |
getExecutable() |
void |
setInputFile(java.io.File zipInFile)
Sets the input file which must be a ZIP or JAR archive.
|
void |
setInputStream(java.io.InputStream inStream,
FileInfo fileInfo)
Sets the input stream to be read.
|
void |
setInputStream(ProgressInputStream inStream)
Sets the input stream to be read.
|
void |
setTargetDir(java.io.File targetDir) |
executeAsync, setExecutable
awaitFinished, awaitFinished, awaitStarted, cancel, createTaskId, deregisterTask, doOnFinish, doOnStart, doOnSuccess, executeChildTask, executeChildTask, getCurrentFuture, getMaxChildTasks, getPriority, getProcessingDuration, getStartTime, getStopWatch, handleFinish, handleStart, handleSuccess, isRegisterForCancel, isRunning, notifyProceeded, registerTask, releaseStart, run, setCurrentFuture, setMaxChildTasks, setPriority, setRegisterForCancel, setReleaseTimeout, submit, submit, submitInternal, toString, wasSucceeded
addMonitor, checkCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, doOnCancel, doOnFailure, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, hasError, hasMonitor, isCancellable, registerTaskStateChange, removeMonitor, resetProgress, setCancellable, setLogLevel, setMaxProgressSteps, setMonitor, setName, setName, setResult, setRunStateFlag, setTaskId, setType, shouldFireMonitor, sleepChecked, wasCancelled
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkCancelled, checkForErrorAndRethrow, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, setCancellable, setName, setResult, setRunStateFlag, sleepChecked
getApplicationContext
execute
addMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitor
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
wasCancelled
getTaskId
toDumpString, toDumpString, toString
public ZipExtractorTask(C ctx)
public ZipExtractorTask(C ctx, java.lang.String name)
public ZipExtractorTask(C ctx, LogChannel logCh)
public ZipExtractorTask(C ctx, LogChannel logCh, java.lang.String name)
public ZipExtractorTask(C ctx, LogChannel logCh, java.io.File targetDir)
public ZipExtractorTask(C ctx, LogChannel logCh, java.lang.String taskName, java.io.File targetDir)
public void setTargetDir(java.io.File targetDir)
protected ZipExtractor getExecutable()
getExecutable
in class ExecutorTask<C extends ApplicationContext>
public void setInputFile(java.io.File zipInFile)
public void setInputStream(java.io.InputStream inStream, FileInfo fileInfo)
public void setInputStream(ProgressInputStream inStream)
Copyright © 2013 EsprIT-Systems. All Rights Reserved.