Some code to deduce an OS/Platform/Browser out of a user-agent string
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

java-user-agent-detection

Some code to deduce an OS/Platform/Browser out of a user-agent string, compatible with Java 1.6 or newer.

Useful links

How to contribute

I will not merge pull requests, as most of this code and tests are generated. What you can do is open issues if you find problems or would like to suggest improvements. You can also leave a message on the blog if you just want to ask something.

How to build with ant

Building with ant is as simple as installing ant and typing ant.

Your jar can then be found in the build/ directory and the javadoc in build/doc/index.html.

How to build with Maven

Building with ant is as simple as installing Maven and typing mvn release

Your jar can then be found in the target/ directory.