org.schmant.task.at4j.bzip2
Class BZip2TF
java.lang.Object
org.schmant.task.stub.AbstractTaskFactory<T,U>
org.schmant.task.stub.AbstractActionTaskFactory<T,U>
org.schmant.task.stub.AbstractProcessTaskFactory<BZip2TF,BZip2Task>
org.schmant.task.at4j.bzip2.BZip2TF
- All Implemented Interfaces:
- ActionTaskConfigurable<BZip2TF>, ActionTaskFactory<BZip2TF,BZip2Task>, LoggingConfigurable<BZip2TF>, OverwriteConfigurable<BZip2TF>, SourceConfigurable<BZip2TF>, TargetConfigurable<BZip2TF>, GeneratorTaskConfigurable<BZip2TF>, GeneratorTaskFactory<BZip2TF,BZip2Task>, ProcessTaskConfigurable<BZip2TF>, ProcessTaskFactory<BZip2TF,BZip2Task>, TaskFactory<BZip2TF,BZip2Task>, TaskRunnable
public final class BZip2TF
- extends AbstractProcessTaskFactory<BZip2TF,BZip2Task>
This task factory creates BZip2Task
:s.
See BZip2TF
- Since:
- 0.8
- Author:
- Karl Gustafsson
- Task_package:
- org.at4j
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
BZip2TF
public BZip2TF()
setCompressionLevel
public BZip2TF setCompressionLevel(CompressionLevel level)
- Since:
- 1.0
setBlockSize
public BZip2TF setBlockSize(int sz)
setWriteFileHeader
@Deprecated
public BZip2TF setWriteFileHeader(boolean b)
- Deprecated.
setDeleteSourceFile
public BZip2TF setDeleteSourceFile(boolean b)
- Since:
- 1.0.1
setUseCommonsCompressImplementation
public BZip2TF setUseCommonsCompressImplementation(boolean b)
- Since:
- 1.0.1
setNumberOfEncoderThreads
public BZip2TF setNumberOfEncoderThreads(int no)
- Since:
- 1.0.1
setExecutorService
public BZip2TF setExecutorService(BZip2EncoderExecutorService es)
- Since:
- 1.0.1
setNumberOfHuffmanTreeRefinementIterations
public BZip2TF setNumberOfHuffmanTreeRefinementIterations(int no)
- Since:
- 1.0.1
createSpecification
protected BZip2Task createSpecification()
- Description copied from class:
AbstractTaskFactory
- Subclasses implement this to create the task specification object that
this factory uses to configure the task that it is creating.
- Specified by:
createSpecification
in class AbstractTaskFactory<BZip2TF,BZip2Task>