public class MarvinStringParser
extends java.lang.Object
Constructor and Description |
---|
MarvinStringParser(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
int |
countTextBefore(java.lang.String text,
java.lang.String suffix) |
java.lang.String |
getCurrentLine() |
int |
getCurrentPosition() |
java.lang.String |
getNext(char[] suffixes) |
java.lang.String |
getNextBetween(java.lang.String prefix,
java.lang.String suffix) |
boolean |
gotoNextLine() |
boolean |
hasBefore(java.lang.String text,
java.lang.String suffix) |
void |
incPosition(int inc) |
void |
jumpOver(char[] arr) |
public int getCurrentPosition()
public void incPosition(int inc)
public java.lang.String getNext(char[] suffixes)
public java.lang.String getNextBetween(java.lang.String prefix, java.lang.String suffix)
public boolean hasBefore(java.lang.String text, java.lang.String suffix)
public java.lang.String getCurrentLine()
public boolean gotoNextLine()
public int countTextBefore(java.lang.String text, java.lang.String suffix)
public void jumpOver(char[] arr)