parsing - Looking for a Java User Agent String Parser -


Does a user know about a great library in Java to parse the agent strings? We wrote a custom, but it seems like a common problem for many people. I think there is a good library available.

For example, User Agent String ...

"Mozilla / 5.0 (Windows; U; Windows NT 6.0; N-US) Apple WebKit / 532.0 (KHML, ) Chrome / 3.0.195.21 Safari / 532.0 "

... Cryptically announces the arrival of Windows Vista PCs using Chrome on our site.

I have seen libraries in Python and Ruby. Is there anything in java?

Then try a new library that is updated monthly and available in the central repository:

This is another cover, but more solid than other people and with the implementation of the test.

I am working on a stable API 1.0 which I want to release later this year. After the release of API 1.0 you do not need to recompile anything. You can only convert UADActector-Resource.or into your application. The convenience 'monthly update' means that if you want to test a 'UAS data' file, for which you have a guarantee that it runs with defined core, it will fulfill your needs, but if you update the jar There is no interest in (which has been tested by me), then you can use online user agent stringers with risk, that the implementation will automatically download Were not suitable for walking with XML made. I am not interested in releasing more 'uadetector-core' bundles, especially when the API is released in version 1.0.

Another solution for a client is that it keeps 'UAS data' when it works with the Online UserAgent StringParser and customizes the property file to set the correct URL .

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -