Class StringScanner
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.database.dbe.StringScanner
- All Implemented Interfaces:
HelperClass
public class StringScanner extends Object implements HelperClass
- Author:
- klukas
-
Constructor Summary
Constructors Constructor Description StringScanner(String input, String del1, String del2, String del3)
-
Method Summary
Modifier and Type Method Description boolean
contains(String string)
double
nextDouble()
int
nextInt()
String
nextNotQuotedString()
String
nextString(String startEndCharacter)
Returns the next String value, must be enclosed by a given start and end character e.g.boolean
stillInputAvailable()
-
Constructor Details
-
StringScanner
- Parameters:
val
-string
-string2
-string3
-
-
-
Method Details
-
nextInt
public int nextInt()- Returns:
-
nextString
Returns the next String value, must be enclosed by a given start and end character e.g. " for the input "test" will result in _test_ the " will be removed from the input.- Parameters:
startEndCharacter
-- Returns:
-
stillInputAvailable
public boolean stillInputAvailable()- Returns:
-
nextDouble
public double nextDouble()- Returns:
-
contains
-
nextNotQuotedString
-