org.schmant.task.at4j.bzip2
Class BZip2TF

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<T,U>
          extended by org.schmant.task.stub.AbstractProcessTaskFactory<BZip2TF,BZip2Task>
              extended by 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

Field Summary
 
Fields inherited from interface org.schmant.task.confable.OverwriteConfigurable
DEFAULT_OVERWRITE_STRATEGY
 
Constructor Summary
BZip2TF()
           
 
Method Summary
protected  BZip2Task createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 BZip2TF setBlockSize(int sz)
           
 BZip2TF setCompressionLevel(CompressionLevel level)
           
 BZip2TF setDeleteSourceFile(boolean b)
           
 BZip2TF setExecutorService(BZip2EncoderExecutorService es)
           
 BZip2TF setNumberOfEncoderThreads(int no)
           
 BZip2TF setNumberOfHuffmanTreeRefinementIterations(int no)
           
 BZip2TF setUseCommonsCompressImplementation(boolean b)
           
 BZip2TF setWriteFileHeader(boolean b)
          Deprecated. 
 
Methods inherited from class org.schmant.task.stub.AbstractProcessTaskFactory
setOverwrite, setOverwriteStrategy, setTarget
 
Methods inherited from class org.schmant.task.stub.AbstractActionTaskFactory
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.schmant.task.TaskFactory
copy, create, getLastCreated, getSpecification
 
Methods inherited from interface org.schmant.task.confable.LoggingConfigurable
setLogFooter, setLogHeader, setReportLevel, setTraceLogging
 
Methods inherited from interface org.schmant.task.TaskRunnable
run
 
Methods inherited from interface org.schmant.task.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 

Constructor Detail

BZip2TF

public BZip2TF()
Method Detail

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>