Package org.cactoos.text
Class Split
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<Text>
-
- org.cactoos.text.Split
-
public final class Split extends IterableEnvelope<Text>
Split the Text.- Since:
- 0.9
- See Also:
String.split(String)
,String.split(String, int)
-
-
Constructor Summary
Constructors Constructor Description Split(CharSequence text, CharSequence rgx)
Ctor.Split(CharSequence text, CharSequence rgx, int lmt)
Ctor.Split(CharSequence text, Text rgx)
Ctor.Split(CharSequence text, Text rgx, int lmt)
Ctor.Split(Text text, CharSequence rgx)
Ctor.Split(Text text, CharSequence rgx, int lmt)
Ctor.Split(Text text, Text rgx)
Ctor.Split(Text text, Text rgx, int lmt)
Ctor.
-
Method Summary
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Split
public Split(CharSequence text, CharSequence rgx)
Ctor.- Parameters:
text
- The textrgx
- The regex- See Also:
String.split(String)
-
Split
public Split(CharSequence text, CharSequence rgx, int lmt)
Ctor.- Parameters:
text
- The textrgx
- The regexlmt
- The limit- See Also:
String.split(String, int)
-
Split
public Split(CharSequence text, Text rgx)
Ctor.- Parameters:
text
- The textrgx
- The regex- See Also:
String.split(String)
-
Split
public Split(CharSequence text, Text rgx, int lmt)
Ctor.- Parameters:
text
- The textrgx
- The regexlmt
- The limit- See Also:
String.split(String, int)
-
Split
public Split(Text text, CharSequence rgx)
Ctor.- Parameters:
text
- The textrgx
- The regex- See Also:
String.split(String)
-
Split
public Split(Text text, CharSequence rgx, int lmt)
Ctor.- Parameters:
text
- The textrgx
- The regexlmt
- The limit- See Also:
String.split(String, int)
-
Split
public Split(Text text, Text rgx)
Ctor.- Parameters:
text
- The textrgx
- The regex- See Also:
String.split(String)
-
Split
public Split(Text text, Text rgx, int lmt)
Ctor.- Parameters:
text
- The textrgx
- The regexlmt
- The limit- See Also:
String.split(String, int)
-
-