org.datamixer.io
Class DMReader

java.lang.Object
  extended byorg.datamixer.io.DMReader
Direct Known Subclasses:
DMFileReader, DMStreamReader

public abstract class DMReader
extends java.lang.Object


Field Summary
protected  java.lang.String id_
          id
 
Constructor Summary
DMReader()
           
 
Method Summary
protected abstract  java.io.BufferedReader doGetReader()
           
 void finish()
           
 java.lang.String getId()
          Returns the id.
 java.io.BufferedReader getReader()
           
 java.lang.String readLine()
           
 void setId(java.lang.String id)
          Sets the id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id_

protected java.lang.String id_
id

Constructor Detail

DMReader

public DMReader()
Method Detail

getId

public java.lang.String getId()
Returns the id.


setId

public void setId(java.lang.String id)
Sets the id.


getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException
Throws:
java.io.IOException

doGetReader

protected abstract java.io.BufferedReader doGetReader()
                                               throws java.io.IOException
Throws:
java.io.IOException

readLine

public java.lang.String readLine()
                          throws DatamixerException
Throws:
DatamixerException

finish

public void finish()
            throws DatamixerException
Throws:
DatamixerException


Copyright © 2004-2006 datamixer.org. All Rights Reserved.