public class ZipLister<C extends ApplicationContext> extends ZipExtractor<C>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
ZipLister(C ctx,
java.io.File archiveFile) |
ZipLister(C ctx,
LogChannel logCh,
java.io.File archiveFile) |
ZipLister(C ctx,
LogChannel logCh,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected void |
extractAsDirectory(ZipArchiveEntry entry) |
protected void |
extractToFile(java.io.InputStream inStream,
ZipArchiveEntry entry) |
void |
setResultListToFill(java.util.List<ZipArchiveEntry> resultList)
If this list is set then it is filled with the results found during listing.
|
getArchiveType, getProgressInputStream, processArchive, setEncoding, setInputStream, setInputStream
checkStreamAccess, createOutputStream, displayArchiveEntry, displayHeader, doOnDirectoryCreated, doOnFileCreated, doOnFileCreating, executeAsync, getInputFile, getTargetDir, isShouldExtract, setExtractionFilter, setInputFile, setTargetDir
addMonitor, checkCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, doOnCancel, doOnFailure, 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 ZipLister(C ctx, java.io.File archiveFile)
public ZipLister(C ctx, LogChannel logCh, java.io.File archiveFile)
public ZipLister(C ctx, LogChannel logCh, java.io.File archiveFile, ArchiveEntryFilter filter)
public void setResultListToFill(java.util.List<ZipArchiveEntry> resultList)
protected final void extractToFile(java.io.InputStream inStream, ZipArchiveEntry entry) throws java.lang.Exception
extractToFile
in class AbstractArchiveExtractor<C extends ApplicationContext,ZipArchiveEntry>
java.lang.Exception
protected final void extractAsDirectory(ZipArchiveEntry entry) throws java.lang.Exception
extractAsDirectory
in class AbstractArchiveExtractor<C extends ApplicationContext,ZipArchiveEntry>
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.