eaLib API Docs
Last Modified : January 7 2002

mss.ea.stat
Class FileProcessor

java.lang.Object
  |
  +--mss.ea.core.GeneticOperator
        |
        +--mss.ea.stat.AbstractPrintProcessor
              |
              +--mss.ea.stat.FileProcessor
All Implemented Interfaces:
SingleStreamProcessor, StreamProcessor
Direct Known Subclasses:
ASCIIFileProcessor, BinaryFileProcessor, XMLFileProcessor

public abstract class FileProcessor
extends AbstractPrintProcessor

Abstract base class for a print processor which saves a stream into a file.

Since:
0.2.2
Version:
$Revision: 1.2 $ $Date: 2001/11/26 09:23:50 $
Author:
Andreas Rummler

Field Summary
protected  java.lang.String filebody
          Body of the filename.
protected  java.lang.String suffix
          Filename suffix.
 
Fields inherited from class mss.ea.core.GeneticOperator
description, ID, name
 
Constructor Summary
FileProcessor(java.lang.String body, java.lang.String suffix)
          Constructor with filename body and suffix.
 
Method Summary
 void setSuffix(java.lang.String s)
          Sets a new suffix.
 
Methods inherited from class mss.ea.stat.AbstractPrintProcessor
process
 
Methods inherited from class mss.ea.core.GeneticOperator
getDescription, getID, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mss.ea.core.StreamProcessor
getName
 

Field Detail

filebody

protected java.lang.String filebody
Body of the filename.

suffix

protected java.lang.String suffix
Filename suffix.
Constructor Detail

FileProcessor

public FileProcessor(java.lang.String body,
                     java.lang.String suffix)
Constructor with filename body and suffix.
Parameters:
body - body of the filename to write to
suffix - suffix of the filename
Method Detail

setSuffix

public void setSuffix(java.lang.String s)
Sets a new suffix.
Parameters:
s - new suffix

eaLib API Docs
Last Modified : January 7 2002

Copyright © 2000-2001 Technical University of Ilmenau, Department ESS