de.infinityloop.util.inout
Class FileProcessor

java.lang.Object
  extended by de.infinityloop.util.inout.FileProcessor

public abstract class FileProcessor
extends java.lang.Object

Class that processes a passed file in some arbitrary way and replaces the passed file with the processed one (i.e. in-situ processing).

Author:
Christian Roth

Nested Class Summary
 class FileProcessor.PipelineUIDRemover
           
 
Constructor Summary
FileProcessor()
           
 
Method Summary
abstract  boolean process(DiskFile df)
          Process the passed file in-situ.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileProcessor

public FileProcessor()
Method Detail

process

public abstract boolean process(DiskFile df)
Process the passed file in-situ. Return true when the file was actually processed/changed, false otherwise (e.g. when the processor is not applicable to the type of file passed).

Parameters:
df -
Returns: