public class StringCutter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private char |
cut
Separator character
|
private int |
index
Current read index
|
private int |
length
String length
|
private java.lang.String |
string
String to cut
|
Constructor and Description |
---|
StringCutter(java.lang.String string,
char cut)
Create a new instance of StringCutter
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
next()
Give the next part or
null ifno more part to read |
private final char cut
private int index
private final int length
private final java.lang.String string