edu.udo.cs.yale.tools.att
Class AttributeDataSourceCreator

java.lang.Object
  extended by edu.udo.cs.yale.tools.att.AttributeDataSourceCreator

public class AttributeDataSourceCreator
extends java.lang.Object

This class can be used as a simple attribute data source creation factory for many types of table like data.

Version:
$Id: AttributeDataSourceCreator.java,v 2.2 2006/09/23 21:53:07 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
private  java.util.ArrayList<AttributeDataSource> sources
          The list of the abstract attribute informations.
 
Constructor Summary
AttributeDataSourceCreator()
           
 
Method Summary
 java.util.List<AttributeDataSource> getAttributeDataSources()
           
static void guessValueTypes(java.lang.String[] data, int[] valueTypes)
           
 void loadData(java.io.File file, char[] commentChars, java.lang.String columnSeparators, char decimalPointCharacter, boolean firstLineAsNames, int maxCounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sources

private java.util.ArrayList<AttributeDataSource> sources
The list of the abstract attribute informations.

Constructor Detail

AttributeDataSourceCreator

public AttributeDataSourceCreator()
Method Detail

getAttributeDataSources

public java.util.List<AttributeDataSource> getAttributeDataSources()

loadData

public void loadData(java.io.File file,
                     char[] commentChars,
                     java.lang.String columnSeparators,
                     char decimalPointCharacter,
                     boolean firstLineAsNames,
                     int maxCounter)
              throws java.io.IOException
Throws:
java.io.IOException

guessValueTypes

public static void guessValueTypes(java.lang.String[] data,
                                   int[] valueTypes)


Copyright © 2001-2006