File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,22 @@ This repository based on https://github.com/cbschuld/Browser.php and was rewritt
66
77## Typical Usage:
88
9- ``` java
9+ ``` java
1010String userAgent = " Opera/9.80 (X11; Linux i686; Ubuntu/14.10) Presto/2.12.388 Version/12.16" ;
1111Browser browser = new Browser (userAgent);
1212System . out. println(" You have Browser: " + browser);
1313```
1414
15+ ## Maven dependency
16+
17+ ```
18+ <dependency>
19+ <groupId>io.github.vadymkykalo</groupId>
20+ <artifactId>browser</artifactId>
21+ <version>0.1.2</version>
22+ </dependency>
23+ ```
24+
1525## Browser Detection
1626
1727This solution identifies the following Browsers and does a best-guess on the version:
@@ -82,7 +92,7 @@ I based this solution off of Gary White's original work but have since replaced
8292
8393Run tests
8494``` bash
85- mvn -Dtest=" com.vkykalo .browser/*Test" test
95+ mvn -Dtest=" io.github.vadymkykalo .browser/*Test" test
8696```
8797
8898Each file is tab delimited with the following fields:
You can’t perform that action at this time.
0 commit comments