Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.language.model
Class DdsModelLpexAdapter.LpexFileReader

java.lang.Object
  extended by com.ibm.etools.iseries.edit.language.model.DdsModelLpexAdapter.LpexFileReader
All Implemented Interfaces:
ISequentialFileReader
Enclosing class:
DdsModelLpexAdapter

public class DdsModelLpexAdapter.LpexFileReader
extends Object
implements ISequentialFileReader


Field Summary
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.ISequentialFileReader
copyright
 
Constructor Summary
DdsModelLpexAdapter.LpexFileReader(LpexTextEditor editor)
           
 
Method Summary
 String createDummyLine(int previousLine)
          Create a blank line of DDS.
 String readNextLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DdsModelLpexAdapter.LpexFileReader

public DdsModelLpexAdapter.LpexFileReader(LpexTextEditor editor)
Parameters:
editor -
Method Detail

readNextLine

public String readNextLine()
                    throws IOException
Specified by:
readNextLine in interface ISequentialFileReader
Returns:
String the next line
Throws:
IOException - if there is any problem reading
See Also:
ReaderLineScanner

createDummyLine

public String createDummyLine(int previousLine)
Create a blank line of DDS. Compute appropriate sequence number if necessary

Parameters:
previousLine - - element number of previous line to the blank one we are creating.
Returns:

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.