A java library for identifying data types in text
I have some structured text. I want to identify if a value is a number, date, spatial coordinate, plain text, uri etc. I can of course write my own solution.
开发者_StackOverflow社区But I was wondering if there is a solid library out there that would do all this and maybe more. Dates are a particular hassle they can be written so many ways all of which are legitimate.
For numbers there is ...commons.lang.math.NumberUtils.isNumeric()
Something similar for the others would be helpful.
精彩评论