com.rapidminer.gui.tools.dialogs.wizards.dataimport.csv
Class LineReader

java.lang.Object
  extended by com.rapidminer.gui.tools.dialogs.wizards.dataimport.csv.LineReader

public class LineReader
extends java.lang.Object

A helper class for reading line based data formats

Author:
Tobias Malbrecht

Constructor Summary
LineReader(java.io.File file)
           
LineReader(java.io.File file, java.nio.charset.Charset encoding)
           
LineReader(java.io.InputStream stream, java.nio.charset.Charset encoding)
           
 
Method Summary
 void close()
           
 java.lang.String readLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineReader

public LineReader(java.io.File file)
           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

LineReader

public LineReader(java.io.File file,
                  java.nio.charset.Charset encoding)
           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

LineReader

public LineReader(java.io.InputStream stream,
                  java.nio.charset.Charset encoding)
Method Detail

readLine

public java.lang.String readLine()
                          throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2009 by Rapid-I