org.schmant.task.at4j.lzma
Class LzmaTF

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<LzmaTF,LzmaTask>
              extended by org.schmant.task.at4j.lzma.LzmaTF
All Implemented Interfaces:
ActionTaskConfigurable<LzmaTF>, ActionTaskFactory<LzmaTF,LzmaTask>, LoggingConfigurable<LzmaTF>, OverwriteConfigurable<LzmaTF>, SourceConfigurable<LzmaTF>, TargetConfigurable<LzmaTF>, GeneratorTaskConfigurable<LzmaTF>, GeneratorTaskFactory<LzmaTF,LzmaTask>, ProcessTaskConfigurable<LzmaTF>, ProcessTaskFactory<LzmaTF,LzmaTask>, TaskFactory<LzmaTF,LzmaTask>, TaskRunnable

public final class LzmaTF
extends AbstractProcessTaskFactory<LzmaTF,LzmaTask>

This task factory creates LzmaTask:s.

See LzmaTF

Warning: LZMA compression does not seem to work reliably. Sometimes, when compressing, it seems to want to allocate too much (very much) memory, and that often leads to an OutOfMemoryError. Avoid using this class until the issue is fixed.

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
LzmaTF()
           
 
Method Summary
protected  LzmaTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 LzmaTF setDeleteSourceFile(boolean b)
           
 LzmaTF setLzmaCompressionSettings(LzmaOutputStreamSettings settings)
           
 
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

LzmaTF

public LzmaTF()
Method Detail

setLzmaCompressionSettings

public LzmaTF setLzmaCompressionSettings(LzmaOutputStreamSettings settings)

setDeleteSourceFile

public LzmaTF setDeleteSourceFile(boolean b)
Since:
1.0.1

createSpecification

protected LzmaTask 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<LzmaTF,LzmaTask>