|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.plt.text.TextUtil.SplitString
public static class TextUtil.SplitString
The result of a split() invocation. The original string can be formed by concatenating
splits(), delims() (interleaved), and rest().
| Method Summary | |
|---|---|
java.lang.String[] |
array()
Fill an array with the non-delimiter portions of the original string. |
java.util.List<java.lang.String> |
delimiters()
The delimiters that followed the corresponding members of splits(). |
java.lang.String |
rest()
The tail portion of the input string. |
java.util.List<java.lang.String> |
splits()
The sequence of strings that were followed by a recognized delimiter. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.util.List<java.lang.String> splits()
splits().size() == delims().size().
public java.util.List<java.lang.String> delimiters()
splits().
splits().size() == delims().size().
public java.lang.String rest()
public java.lang.String[] array()
String#split. It always has length >= 1 and
<= limit, if limit (a parameter of the split method) was positive.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||