public class TarArchiver<C extends ApplicationContext> extends AbstractArchiver<C> implements TarProgressDisplay
measureStream
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
TarArchiver(C ctx) |
TarArchiver(C ctx,
ArchiveInputList inputList) |
TarArchiver(C ctx,
java.io.File tarOutFile) |
TarArchiver(C ctx,
java.io.File tarOutFile,
ArchiveInputList inputList) |
TarArchiver(C ctx,
LogChannel logCh,
java.io.File tarOutFile,
ArchiveInputList inputList) |
Modifier and Type | Method and Description |
---|---|
protected java.io.OutputStream |
createOutputStream(java.io.File archiveFile) |
FileType |
getArchiveType() |
protected void |
processArchiving(java.io.File archiveFile,
ArchiveInputList inputList) |
void |
showTarProgressMessage(java.lang.String msg)
Display a progress message.
|
addDirectory, addDirectory, addFile, addFiles, checkDirectoryExists, checkFileExists, checkHasArchivedFiles, createCleanupFileOutputStream, doOnAddingArchiveEntry, executeAsync, getSourceRootDir, incrementArchivedFileCount, setArchiveFile, setRemoveSourceFiles, setRootDirectory, setSourceRootDir
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 TarArchiver(C ctx)
public TarArchiver(C ctx, java.io.File tarOutFile)
public TarArchiver(C ctx, ArchiveInputList inputList)
public TarArchiver(C ctx, java.io.File tarOutFile, ArchiveInputList inputList)
public TarArchiver(C ctx, LogChannel logCh, java.io.File tarOutFile, ArchiveInputList inputList)
protected java.io.OutputStream createOutputStream(java.io.File archiveFile) throws java.io.IOException
java.io.IOException
public FileType getArchiveType()
getArchiveType
in class AbstractArchiver<C extends ApplicationContext>
protected void processArchiving(java.io.File archiveFile, ArchiveInputList inputList) throws java.lang.Exception
processArchiving
in class AbstractArchiver<C extends ApplicationContext>
java.lang.Exception
public final void showTarProgressMessage(java.lang.String msg)
TarProgressDisplay
showTarProgressMessage
in interface TarProgressDisplay
msg
- The message to display.Copyright © 2014 EsprIT-Systems. All Rights Reserved.