@Test public void testTokenizeCustomDelimiters() throws Exception { final String[] expected = new String[] {"ab", "c", "d"}; final String input = "abkckkd"; final String[] actual = Tokenizer.tokenize(input, "k"); assertArrayEquals(expected, actual); }
public static String[] tokenize(final String[] entries) { return tokenize(entries, COMMON_DELIMITERS); }
Tokenizer { public static String[] tokenize(final String[] entries) { return tokenize(entries, COMMON_DELIMITERS); } }
Tokenizer { public static String[] tokenize(final String[] entries) { return tokenize(entries, COMMON_DELIMITERS); } private  Tokenizer(); }
Tokenizer { public static String[] tokenize(final String[] entries) { return tokenize(entries, COMMON_DELIMITERS); } private  Tokenizer(); static String[] tokenize(final String[] entries); static String[] tokenize(final String[] entries, final String delimiters); static String[] tokenize(final String entry); static String[] tokenize(final String entry, final String delimiters); }
Tokenizer { public static String[] tokenize(final String[] entries) { return tokenize(entries, COMMON_DELIMITERS); } private  Tokenizer(); static String[] tokenize(final String[] entries); static String[] tokenize(final String[] entries, final String delimiters); static String[] tokenize(final String entry); static String[] tokenize(final String entry, final String delimiters); static final String COMMON_DELIMITERS; }