com.rapidminer.example
Class AttributeParser

java.lang.Object
  extended by com.rapidminer.example.AttributeParser

public class AttributeParser
extends java.lang.Object

Parses a file containing construction descriptions and adds the new attributes to the example set.

Author:
Ingo Mierswa

Constructor Summary
AttributeParser()
          The example table to which the attributes should be added.
 
Method Summary
 void generateAll(LoggingHandler logging, ExampleSet exampleSet, java.io.InputStream in)
          Parses all lines.
 Attribute generateAttribute(LoggingHandler logging, java.lang.String constructionDescription, ExampleTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeParser

public AttributeParser()
The example table to which the attributes should be added.

Method Detail

generateAll

public void generateAll(LoggingHandler logging,
                        ExampleSet exampleSet,
                        java.io.InputStream in)
                 throws java.io.IOException,
                        GenerationException
Parses all lines.

Throws:
java.io.IOException
GenerationException

generateAttribute

public Attribute generateAttribute(LoggingHandler logging,
                                   java.lang.String constructionDescription,
                                   ExampleTable table)
                            throws GenerationException
Throws:
GenerationException


Copyright © 2001-2009 by Rapid-I