public class FilterTokenizer extends Object
| Constructor and Description |
|---|
FilterTokenizer() |
| Modifier and Type | Method and Description |
|---|---|
protected static com.fasterxml.jackson.databind.ObjectReader |
init(com.fasterxml.jackson.dataformat.csv.CsvSchema filterCsvSchema)
Initialize the tokenizer.
|
protected static com.fasterxml.jackson.databind.ObjectReader |
initDefault()
Initialize an ObjectReader.
|
protected static com.fasterxml.jackson.databind.ObjectReader |
initRaw()
Initialize an ObjectReader that does not quote things.
|
static List<String> |
split(String input)
Split a string into tokens based on CSV rules.
|
protected static com.fasterxml.jackson.databind.ObjectReader initDefault()
protected static com.fasterxml.jackson.databind.ObjectReader initRaw()
protected static com.fasterxml.jackson.databind.ObjectReader init(com.fasterxml.jackson.dataformat.csv.CsvSchema filterCsvSchema)
filterCsvSchema - Schema to initialize the tokenizer forpublic static List<String> split(String input) throws IllegalArgumentException
Examples: Foo, Bar corresponds to ["Foo", "Bar"] "Foo, Bar and Baz",Qux corresponds to ["Foo, Bar and Baz", "Qux"] Foo,"2'10""" corresponds to ["Foo", "2'10\""] Foo,,Bar is invalid. Empty string was not quoted
input - the string to splitIllegalArgumentException - if the input has empty itemsCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.