blob: 04551a79c69b2249b15b9c92227b61e600a530de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package bjc.utils.parserutils.splitter;
/**
* Split a string and keep given delimiters.
*
* @author Ben Culkin
*/
@Deprecated
public interface TokenSplitter {
/**
* Split a provided string using configured delimiters, and keeping the
* delimiters.
*
* <p>
* The splitter must be compiled first.
* </p>
*
* @param inp
* The string to split.
*
* @return The split string, including delimiters.
*
* @throws IllegalStateException
* If the splitter isn't compiled.
*/
String[] split(String inp);
}
|