com.zipxap.vfs.dal.utility
Class ReaderPhrase

java.lang.Object
  extended by com.zipxap.vfs.dal.utility.ReaderPhrase

public class ReaderPhrase
extends java.lang.Object

This object is used to represent a portion of a String


Constructor Summary
ReaderPhrase(long startIndex, long endIndex, java.lang.String phrase, int curChar)
           
 
Method Summary
 int getCurrentCharacter()
           
 long getEndIndex()
           
 java.lang.String getPhrase()
           
 long getStartIndex()
           
 void setCurrentCharacter(int curChar)
           
 void setEndIndex(long endIndex)
           
 void setPhrase(java.lang.String phrase)
           
 void setStartIndex(long startIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderPhrase

public ReaderPhrase(long startIndex,
                    long endIndex,
                    java.lang.String phrase,
                    int curChar)
Method Detail

getStartIndex

public long getStartIndex()

setStartIndex

public void setStartIndex(long startIndex)

getEndIndex

public long getEndIndex()

setEndIndex

public void setEndIndex(long endIndex)

getPhrase

public java.lang.String getPhrase()

setPhrase

public void setPhrase(java.lang.String phrase)

getCurrentCharacter

public int getCurrentCharacter()
Returns:
the last character read by the Reader.

setCurrentCharacter

public void setCurrentCharacter(int curChar)
Parameters:
curChar - the last character read by the Reader.