Serializable, StringReaderpublic class SimpleStringNavigator extends SMYLDObject implements StringReader
NEW_LINE, OS_NEW_LINE| Constructor | Description |
|---|---|
SimpleStringNavigator(String textValue) |
| Modifier and Type | Method | Description |
|---|---|---|
char |
getChar() |
|
String |
getText() |
Returns the text
|
String |
getText(int charNo) |
Reads the text and fetchs the characters according to the given
charachters no also the pointer is advanced accordingly
|
String |
getText(int charNo,
int code) |
|
void |
jump(int stepsNo) |
The pointer is advanced with the given position number
|
void |
setText(String newValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdebug, getLenName, insertInstanceValue, printInstanceValues, toStringpublic SimpleStringNavigator(String textValue)
public void setText(String newValue)
public char getChar()
public String getText(int charNo, int code)
getText in interface StringReaderpublic String getText(int charNo)
StringReadergetText in interface StringReadercharNo - Number of characters to be readpublic void jump(int stepsNo)
StringReaderjump in interface StringReaderpublic String getText()
StringReadergetText in interface StringReaderCopyright © 2019 SMYLD. All rights reserved.