UADetector :: Core

The UADetector core library includes the API and implementation to read the detection information and the functions to identify User-Agents, but not the database (also known as UAS data). The UAS data can be found in the resources module.

License

License

Categories

Categories

Net
GroupId

GroupId

net.sf.uadetector
ArtifactId

ArtifactId

uadetector-core
Last Version

Last Version

0.9.22
Release Date

Release Date

Type

Type

bundle
Description

Description

UADetector :: Core
The UADetector core library includes the API and implementation to read the detection information and the functions to identify User-Agents, but not the database (also known as UAS data). The UAS data can be found in the resources module.
Project URL

Project URL

http://uadetector.sourceforge.net/modules/uadetector-core/

Download uadetector-core

Dependencies

compile (4)

Group / Artifact Type Version
net.sf.qualitycheck : quality-check jar 1.3
com.google.code.findbugs : jsr305 jar 2.0.3
javax.annotation : jsr250-api jar 1.0
org.slf4j : slf4j-api jar 1.7.7

test (7)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.1.2
junit : junit jar 4.11
org.easytesting : fest-assert jar 1.4
org.easymock : easymock jar 3.1
org.powermock : powermock-api-easymock jar 1.5.1
org.powermock : powermock-module-junit4 jar 1.5.1
com.google.guava : guava jar 17.0

Project Modules

There are no modules declared in this project.

UADetector

What is UADetector?

UADetector is a library to identify over 190 different desktop and mobile browsers and 130 other User-Agents like feed readers, email clients and multimedia players. In addition, even more than 400 robots like BingBot, Googlebot or Yahoo Bot can be identified.

This library is a free, portable Java library to analyze User-Agent strings. The goal of this library is to detect the type and the associated operating system of a client like Mobile Firefox 9.0 on Android or Mobile Safari 5.1 on iOS.

UADetector is divided into two modules. The core module includes the API and implementation to read the detection information and the functions to identify User-Agents. The resources module contains the database with the necessary identification information and a service factory class to get simply preconfigured UserAgentStringParser singletons. This library will be published monthly, is integration-tested against the core module and is guaranteed to run against the defined core.

Device categorization

Since version 0.9.10 we support device categorization which means that for instance an iPhone or Nexus 4 will be classified as "Smartphone" and an iPad, Kindle or Surface RT as "Tablet". Please take a look into our API documentation to get an idea what you can get when parsing an user agent string.

Features

Detects over 190 different browsers

This library detects over 190 different desktop and mobile browsers and 130 other User-Agents like feed readers, multimedia players and email clients.

Identifies over 400 robots

In the Internet many robots are on their way to examine sites. A large number of robots can be detected with this library.

Monthly updated

Each month a new version of the resources module will be published so you can always detect the latest User-Agents.

Extremely tested

All classes in this library have been especially tested. The unit tests have over 90% branch coverage and 98% line coverage. In addition, many integration tests performed regularly.

How can You help?

UADetector is an open source tool and welcomes contributions.

  • Report bugs, feature requests and other issues in the issue tracking application, but look on our known issues page first before posting!
  • Help with the documentation by pointing out areas that are lacking or unclear, and if you are so inclined, submitting patches to correct it. You can quickly contribute rough thoughts by forking this project on GitHub and SourceForge, or you can volunteer to help collate and organize information that is already there.

Your participation in this project is much appreciated!

License

Please visit the UADetector web site for more information:

Copyright 2012 André Rouél

André Rouél licenses this product to you under the Apache License, version 2.0 (the "License"); you may not use this product except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Also, please refer to each LICENSE.component.txt file, which is located in the same directory as this file, for the license terms of the components that this product depends on.


This product contains a modified version of Dave Koelle's Alphanum Algorithm, which can be obtained at:

This product uses a version of Jaroslav Mallat's UAS Data, which can be obtained at:

net.sf.uadetector

Before

Before the fun 🎉

Versions

Version
0.9.22
0.9.21
0.9.20
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0