public class TarExtractor<C extends ApplicationContext> extends AbstractArchiveExtractor<C,TarArchiveEntry>
ProgressInputStream
.childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
TarExtractor(C ctx,
java.io.File targetDir) |
TarExtractor(C ctx,
java.io.File targetDir,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
TarExtractor(C ctx,
LogChannel logCh,
java.io.File targetDir) |
TarExtractor(C ctx,
LogChannel logCh,
java.io.File targetDir,
java.io.File archiveFile) |
TarExtractor(C ctx,
LogChannel logCh,
java.io.File targetDir,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
Modifier and Type | Method and Description |
---|---|
protected FileType |
getArchiveType() |
ProgressInputStream |
getProgressInputStream() |
protected void |
processArchive() |
void |
setInputStream(java.io.InputStream inStream,
FileInfo info)
Sets the input stream to be read.
|
void |
setInputStream(ProgressInputStream inStream) |
checkStreamAccess, createOutputStream, displayArchiveEntry, displayHeader, doOnDirectoryCreated, doOnFileCreated, doOnFileCreating, executeAsync, extractAsDirectory, extractToFile, 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 TarExtractor(C ctx, java.io.File targetDir)
public TarExtractor(C ctx, LogChannel logCh, java.io.File targetDir)
public TarExtractor(C ctx, LogChannel logCh, java.io.File targetDir, java.io.File archiveFile)
public TarExtractor(C ctx, java.io.File targetDir, java.io.File archiveFile, ArchiveEntryFilter filter)
public TarExtractor(C ctx, LogChannel logCh, java.io.File targetDir, java.io.File archiveFile, ArchiveEntryFilter filter)
protected final FileType getArchiveType()
getArchiveType
in class AbstractArchiveExtractor<C extends ApplicationContext,TarArchiveEntry>
public void setInputStream(java.io.InputStream inStream, FileInfo info)
public void setInputStream(ProgressInputStream inStream)
protected void processArchive() throws java.lang.Exception
processArchive
in class AbstractArchiveExtractor<C extends ApplicationContext,TarArchiveEntry>
java.lang.Exception
public ProgressInputStream getProgressInputStream()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.