org.datamixer.io
Class DMStreamReader

java.lang.Object
  extended byorg.datamixer.io.DMReader
      extended byorg.datamixer.io.DMStreamReader

public class DMStreamReader
extends DMReader


Field Summary
protected  java.io.InputStream stream_
          the input stream
protected  java.lang.String streamName_
          the input stream name
 
Fields inherited from class org.datamixer.io.DMReader
id_
 
Constructor Summary
DMStreamReader()
           
 
Method Summary
protected  java.io.BufferedReader doGetReader()
           
 java.lang.Object getCurrent()
          Returns the value most recently returned by next().
 Value getCurrentValue()
          Returns the value most recently returned by nextValue().
 java.lang.String getStreamName()
           
 void setStreamName(java.lang.String value)
           
 
Methods inherited from class org.datamixer.io.DMReader
finish, getId, getReader, readLine, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamName_

protected java.lang.String streamName_
the input stream name


stream_

protected java.io.InputStream stream_
the input stream

Constructor Detail

DMStreamReader

public DMStreamReader()
Method Detail

getCurrent

public java.lang.Object getCurrent()
Returns the value most recently returned by next().

Returns:
the current value.

getCurrentValue

public Value getCurrentValue()
Returns the value most recently returned by nextValue().

Returns:
the current value.

doGetReader

protected java.io.BufferedReader doGetReader()
                                      throws java.io.IOException
Specified by:
doGetReader in class DMReader
Throws:
java.io.IOException

getStreamName

public java.lang.String getStreamName()

setStreamName

public void setStreamName(java.lang.String value)


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