Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.verifiers
Class VerifierViewFile

java.lang.Object
  extended by com.ibm.etools.iseries.edit.verifiers.VerifierViewFile
All Implemented Interfaces:
IVerifierView

public class VerifierViewFile
extends Object
implements IVerifierView


Field Summary
protected  boolean _bPrefix
           
protected static String _strEmpty
           
protected static String _strEmptyPrefix
           
protected  String _strEncoding
           
protected  Vector<String> _vectorLines
           
static String copyright
           
 
Constructor Summary
VerifierViewFile(IFile file)
          Constructor that takes a resource and converts it to an input stream.
 
Method Summary
 String getLinePrefixText(int iLine)
          Returns the prefix text at the beginning of a line.
 String getLineText(int iLine)
          Returns the code part of the line without the prefix part.
 int getNextLine(int iLine)
          Returns the next line number ot the given line number or zero.
 int getPreviousLine(int iLine)
          Returns the previous line number to the given line number or zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

_strEmpty

protected static String _strEmpty

_strEmptyPrefix

protected static String _strEmptyPrefix

_vectorLines

protected Vector<String> _vectorLines

_bPrefix

protected boolean _bPrefix

_strEncoding

protected String _strEncoding
Constructor Detail

VerifierViewFile

public VerifierViewFile(IFile file)
                 throws NullPointerException,
                        CoreException,
                        IOException
Constructor that takes a resource and converts it to an input stream.

Throws:
NullPointerException
CoreException
IOException
Method Detail

getLinePrefixText

public String getLinePrefixText(int iLine)
Returns the prefix text at the beginning of a line.

Specified by:
getLinePrefixText in interface IVerifierView

getLineText

public String getLineText(int iLine)
Returns the code part of the line without the prefix part.

Specified by:
getLineText in interface IVerifierView

getNextLine

public int getNextLine(int iLine)
Returns the next line number ot the given line number or zero.

Specified by:
getNextLine in interface IVerifierView

getPreviousLine

public int getPreviousLine(int iLine)
Returns the previous line number to the given line number or zero.

Specified by:
getPreviousLine in interface IVerifierView

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.