public class TarLister<C extends ApplicationContext> extends TarExtractor<C>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
TarLister(C ctx,
java.io.File archiveFile) |
TarLister(C ctx,
LogChannel logCh,
java.io.File archiveFile) |
TarLister(C ctx,
LogChannel logCh,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected void |
extractAsDirectory(TarArchiveEntry entry) |
protected void |
extractToFile(java.io.InputStream inStream,
TarArchiveEntry entry) |
void |
setResultListToFill(java.util.List<TarArchiveEntry> resultList)
If this list is set then it is filled with the results found during listing.
|
getArchiveType, getProgressInputStream, processArchive, 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 TarLister(C ctx, java.io.File archiveFile)
public TarLister(C ctx, LogChannel logCh, java.io.File archiveFile)
public TarLister(C ctx, LogChannel logCh, java.io.File archiveFile, ArchiveEntryFilter filter)
public void setResultListToFill(java.util.List<TarArchiveEntry> resultList)
protected final void extractToFile(java.io.InputStream inStream, TarArchiveEntry entry) throws java.lang.Exception
extractToFile
in class AbstractArchiveExtractor<C extends ApplicationContext,TarArchiveEntry>
java.lang.Exception
protected void extractAsDirectory(TarArchiveEntry entry) throws java.lang.Exception
extractAsDirectory
in class AbstractArchiveExtractor<C extends ApplicationContext,TarArchiveEntry>
java.lang.Exception
Copyright © 2014 EsprIT-Systems. All Rights Reserved.