com.zipxap.vfs.dal.utility
Class ReaderPhrase
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderPhrase
public ReaderPhrase(long startIndex,
long endIndex,
java.lang.String phrase,
int curChar)
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.