public class TextualMonthDateTokenizer extends Object
TextualMonthDateTokenizer
is to break a string representing a date with a textual
month representation into a list of TextualMonthDateTokenizer.DateToken
.
A TextualMonthDateTokenizer.DateToken
should be interpreted as a possible/candidate for date part. No validation will be performed
by the TextualMonthDateTokenizer
, simply patterns matching.
The class it-self is Thread-Safe, see nested classes for specific details about them.Modifier and Type | Class and Description |
---|---|
static class |
TextualMonthDateTokenizer.DateToken
Represents a possible candidate for date part.
|
static class |
TextualMonthDateTokenizer.DateTokens
Contains the result of the tokenization.
|
static class |
TextualMonthDateTokenizer.TokenType |
Modifier and Type | Method and Description |
---|---|
static TextualMonthDateTokenizer |
newInstance() |
TextualMonthDateTokenizer.DateTokens |
tokenize(String str)
Tokenize a string into a
TextualMonthDateTokenizer.DateTokens . |
public static TextualMonthDateTokenizer newInstance()
public TextualMonthDateTokenizer.DateTokens tokenize(String str)
TextualMonthDateTokenizer.DateTokens
.str
- TextualMonthDateTokenizer.DateTokens
instance, or null if str is null or emptyCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.