com.metamatrix.script.io
Class StringArrayReader

java.lang.Object
  extended by java.io.Reader
      extended by com.metamatrix.script.io.StringLineReader
          extended by com.metamatrix.script.io.StringArrayReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class StringArrayReader
extends StringLineReader

Converts a String Array object into a Reader object.

Author:
Ramesh Reddy

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
StringArrayReader(java.lang.String[] src)
           
 
Method Summary
protected  java.lang.String nextLine()
          Get the next line of data from the data source.
 
Methods inherited from class com.metamatrix.script.io.StringLineReader
close, read
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringArrayReader

public StringArrayReader(java.lang.String[] src)
Method Detail

nextLine

protected java.lang.String nextLine()
                             throws java.io.IOException
Description copied from class: StringLineReader
Get the next line of data from the data source.

Specified by:
nextLine in class StringLineReader
Returns:
Throws:
java.io.IOException
Since:
4.3
See Also:
test.metamatrix.script.io.StringLineReader#nextLine()


Copyright © 2009. All Rights Reserved.