public class ZipSoftwareExtractor extends ZipExtractor
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
ZipSoftwareExtractor(ApplicationContext ctx,
java.io.InputStream inStream,
FileInfo fileInfo,
java.io.File targetDir,
java.io.FileFilter excludeFilter,
java.lang.String repository,
java.io.File timestampFile,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnCancel()
This method is called after having detected cancellation.
|
protected void |
doOnDirectoryCreated(ArchiveEntry entry,
java.io.File relativeDir) |
protected void |
doOnFailure(java.lang.Exception error)
Is called when the task failed.
|
protected void |
doOnFileCreating(ArchiveEntry entry)
Passes the relative fileName as argument.
|
java.util.List<java.lang.String> |
getExtractionList() |
protected void |
processArchive() |
protected void |
purgeTargetDir() |
getArchiveType, getProgressInputStream, setEncoding, setInputStream, setInputStream
checkStreamAccess, createOutputStream, displayArchiveEntry, displayHeader, doOnFileCreated, executeAsync, extractAsDirectory, extractToFile, getInputFile, getTargetDir, isShouldExtract, setExtractionFilter, setInputFile, setTargetDir
addMonitor, checkCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, handleFinish, handleStart, handleSuccess, hasError, hasMonitor, isCancellable, notifyProceeded, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getApplicationContext
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
public ZipSoftwareExtractor(ApplicationContext ctx, java.io.InputStream inStream, FileInfo fileInfo, java.io.File targetDir, java.io.FileFilter excludeFilter, java.lang.String repository, java.io.File timestampFile, long timestamp)
public java.util.List<java.lang.String> getExtractionList()
protected void doOnDirectoryCreated(ArchiveEntry entry, java.io.File relativeDir)
doOnDirectoryCreated
in class AbstractArchiveExtractor
protected void doOnFileCreating(ArchiveEntry entry)
AbstractArchiveExtractor
doOnFileCreating
in class AbstractArchiveExtractor
protected void processArchive() throws java.lang.Exception
processArchive
in class ZipExtractor
java.lang.Exception
protected void doOnCancel()
AbstractAsyncExecutable
doOnCancel
in class AbstractAsyncExecutable
protected void doOnFailure(java.lang.Exception error)
AbstractAsyncExecutable
doOnFailure
in class AbstractAsyncExecutable
protected void purgeTargetDir() throws java.lang.Exception
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.