Package | Description |
---|---|
org.foxlabs.validation.converter |
Modifier and Type | Class and Description |
---|---|
class |
SimpleTokenizer
This class provides simple
Tokenizer implementation based on
delimiter characters like java.util.StringTokenizer . |
Modifier and Type | Field and Description |
---|---|
protected Tokenizer |
SequenceConverter.tokenizer
Tokenizer of elements sequence.
|
Modifier and Type | Method and Description |
---|---|
static Tokenizer |
ConverterFactory.tokenizer(String delims)
Creates a new tokenizer with the specified elements delimiters.
|
Modifier and Type | Method and Description |
---|---|
static <V> Converter<V[]> |
ConverterFactory.forArray(Converter<V> converter,
Tokenizer tokenizer)
Creates a new array converter with the specified converter of array
elements and tokenzier of array elements.
|
static <T extends Collection<V>,V> |
ConverterFactory.forCollection(Class<? extends Collection> type,
Converter<V> converter,
Tokenizer tokenizer)
Creates a new collection converter with the specified collection type,
converter of collection elements and tokenzier of collection elements.
|
static <T extends Map<K,V>,K,V> |
ConverterFactory.forMap(Class<? extends Map> type,
Converter<K> kconverter,
Converter<V> vconverter,
Tokenizer tokenizer)
Creates a new map converter with the specified map type, key and value
converters, key-value pairs tokenzier.
|
Constructor and Description |
---|
SequenceConverter(Tokenizer tokenizer)
Constructs a new
SequenceConverter with the specified
tokenizer of elements sequence. |
Copyright © 2011–2020 FoxLabs. All rights reserved.