开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜