public class SimpleStringNavigator extends SMYLDObject implements StringReader
NEW_LINE, OS_NEW_LINE| Constructor and Description |
|---|
SimpleStringNavigator(String textValue) |
| Modifier and Type | Method and 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) |
debug, 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 com.github.mfjamil. All rights reserved.