weka.datagenerators
Class TextSource.Table

java.lang.Object
  extended byweka.datagenerators.TextSource.Table
Enclosing class:
TextSource

public class TextSource.Table
extends java.lang.Object

Table that allows incremental addition of attributes.


Field Summary
protected  FastVector m_attribs
           
protected  java.util.LinkedList m_data
           
protected  Instances m_format
           
protected  java.util.ListIterator m_it
           
protected  int m_nIndex
           
protected  TextSource m_ts
           
 
Constructor Summary
TextSource.Table(TextSource ts)
           
 
Method Summary
 void add(TextSource.DataRow vector)
           
 void addAttribute(Attribute attrib)
           
 Instance getNextInstance()
           
 Instances makeDataFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ts

protected TextSource m_ts

m_attribs

protected FastVector m_attribs

m_format

protected Instances m_format

m_data

protected java.util.LinkedList m_data

m_nIndex

protected int m_nIndex

m_it

protected java.util.ListIterator m_it
Constructor Detail

TextSource.Table

public TextSource.Table(TextSource ts)
Method Detail

add

public void add(TextSource.DataRow vector)

addAttribute

public void addAttribute(Attribute attrib)

makeDataFormat

public Instances makeDataFormat()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getNextInstance

public Instance getNextInstance()