com.rapidminer.tools.att
Class AttributeDataSourceCreator
java.lang.Object
com.rapidminer.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.
- Author:
- Ingo Mierswa
|
Method Summary |
java.util.List<AttributeDataSource> |
getAttributeDataSources()
|
static void |
guessValueTypes(java.lang.String[] data,
int[] valueTypes,
boolean[] onlyMissing,
char decimalPointCharacter)
|
void |
loadData(java.io.File file,
char[] commentChars,
java.lang.String columnSeparators,
char decimalPointCharacter,
boolean useQuotes,
char quoteChar,
char escapeChar,
boolean trimLines,
boolean firstLineAsNames,
int maxCounter,
boolean skipErrorLines,
java.nio.charset.Charset encoding,
LoggingHandler logging)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeDataSourceCreator
public AttributeDataSourceCreator()
getAttributeDataSources
public java.util.List<AttributeDataSource> getAttributeDataSources()
loadData
public void loadData(java.io.File file,
char[] commentChars,
java.lang.String columnSeparators,
char decimalPointCharacter,
boolean useQuotes,
char quoteChar,
char escapeChar,
boolean trimLines,
boolean firstLineAsNames,
int maxCounter,
boolean skipErrorLines,
java.nio.charset.Charset encoding,
LoggingHandler logging)
throws java.io.IOException
- Throws:
java.io.IOException
guessValueTypes
public static void guessValueTypes(java.lang.String[] data,
int[] valueTypes,
boolean[] onlyMissing,
char decimalPointCharacter)
Copyright © 2001-2009 by Rapid-I