|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.engine.AbstractOperator
org.evolvica.core.common.AbstractGeneticOperator
org.evolvica.core.common.AbstractWriter
org.evolvica.core.common.FileWriter
Abstract base class for a print processor which saves an individual set into a file.
Field Summary | |
protected java.lang.String |
body
Body of the filename. |
protected Directory |
directory
Directory to write to. |
protected java.lang.String |
suffix
Filename suffix. |
Fields inherited from class org.evolvica.engine.AbstractOperator |
descriptor, element, id, name |
Constructor Summary | |
FileWriter()
Default constructor. |
|
FileWriter(java.lang.String body,
java.lang.String suffix)
Constructor with filename body and suffix. |
Method Summary | |
java.lang.String |
getBody()
Returns the body. |
Directory |
getDirectory()
Returns the directory. |
java.lang.String |
getSuffix()
Returns the suffix. |
void |
setBody(java.lang.String string)
Sets the body. |
void |
setDirectory(Directory dir)
Stes the directory. |
void |
setSuffix(java.lang.String string)
Sets the suffix. |
Methods inherited from class org.evolvica.core.common.AbstractWriter |
process |
Methods inherited from class org.evolvica.engine.AbstractOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.evolvica.engine.IOperator |
attachDescriptor, attachElement, descriptor, element, getId, getName, setId, setName |
Field Detail |
protected java.lang.String body
protected java.lang.String suffix
protected Directory directory
Constructor Detail |
public FileWriter()
public FileWriter(java.lang.String body, java.lang.String suffix)
body
- body of the filename to write tosuffix
- suffix of the filenameMethod Detail |
public java.lang.String getBody()
public Directory getDirectory()
public java.lang.String getSuffix()
public void setBody(java.lang.String string) throws java.beans.PropertyVetoException
string
- new body
java.beans.PropertyVetoException
public void setDirectory(Directory dir) throws java.beans.PropertyVetoException
dir
- directory
java.beans.PropertyVetoException
public void setSuffix(java.lang.String string) throws java.beans.PropertyVetoException
string
- new suffix
java.beans.PropertyVetoException
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |