org.shiftone.jrat.inject.process
Class AbstractFileProcessor
java.lang.Object
org.shiftone.jrat.inject.process.AbstractFileProcessor
- All Implemented Interfaces:
- FileProcessor
- Direct Known Subclasses:
- ArchiveFileProcessor, ClassFileProcessor, CopyFileProcessor
public abstract class AbstractFileProcessor
- extends java.lang.Object
- implements FileProcessor
- Author:
- jeff@shiftone.org (Jeff Drost)
todo - this logic should all go in the Injector.
Method Summary |
void |
process(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
|
protected void |
processFile(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
|
protected void |
processStream(Transformer transformer,
InjectorOptions options,
java.io.InputStream inputStream,
java.io.OutputStream outputStream,
java.lang.String fileName)
|
protected void |
processUsingSwapFile(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileProcessor
public AbstractFileProcessor()
process
public void process(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
- Specified by:
process
in interface FileProcessor
processUsingSwapFile
protected void processUsingSwapFile(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
processFile
protected void processFile(Transformer transformer,
InjectorOptions options,
java.io.File source,
java.io.File target)
processStream
protected void processStream(Transformer transformer,
InjectorOptions options,
java.io.InputStream inputStream,
java.io.OutputStream outputStream,
java.lang.String fileName)