diff --git a/README.md b/README.md index 1ec56be..9359543 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,9 @@ For Mac, it uses `AVFDriver`, based on a [custom library](https://github.com/edu # How to use -1. Download this repository and run `mvn install` -2. Add `com.github.eduramiba:webcam-capture-driver-native:1.0.0-SNAPSHOT` dependency to your application. -3. Use the driver with `Webcam.setDriver(new NativeDriver())` -4. List the devices with `Webcam.getWebcams()` as normal and use the library in your preferred way. In JavaFX it's recommended to do it as in the example below. +1. Add `io.github.eduramiba:webcam-capture-driver-native:1.0.0` dependency to your application. +2. Use the driver with `Webcam.setDriver(new NativeDriver())` +3. List the devices with `Webcam.getWebcams()` as normal and use the library in your preferred way. In JavaFX it's recommended to do it as in the example below. # Simple example with JavaFX diff --git a/pom.xml b/pom.xml index 0640480..a47d870 100644 --- a/pom.xml +++ b/pom.xml @@ -1,15 +1,42 @@ - com.github.eduramiba + io.github.eduramiba webcam-capture-driver-native - 1.0.0-SNAPSHOT + 1.0.0 4.0.0 jar Webcam Capture Driver Native Native driver for Webcam-capture project 2021 + https://github.com/eduramiba/webcam-capture-driver-native + + + + + Apache 2.0 + http://www.opensource.org/licenses/Apache-2.0 + Apache License, Version 2.0 + + + + + + scm:git:git://github.com/eduramiba/webcam-capture-driver-native.git + scm:git:git@github.com:eduramiba/webcam-capture-driver-native.git + https://github.com/eduramiba/webcam-capture-driver-native + + + + + + eduramiba + Eduardo Ramos + eduramiba@gmail.com + + + 11 @@ -17,34 +44,34 @@ UTF-8 - 2.0.6 + 2.0.9 0.3.13-SNAPSHOT 1.3.2 - 5.12.1 + 5.13.0 19 - 3.10.1 - 3.4.2 - 3.2.0 - 3.0.0 - 3.1.0 + 3.11.0 + 3.6.0 + 3.3.1 + 3.1.1 + 3.1.1 3.3.0 - 3.4.0 - 3.3.0 + 3.6.0 + 3.3.1 1.0.1 3.12.1 - 3.3.0 - 2.22.2 - 2.22.2 + 3.4.0 + 3.1.2 + 3.1.2 3.1.0 - 2.5.0 - 2.14.1 - 3.3.0 - 3.1.0 - 1.6.1 + 2.6.0 + 2.16.0 + 3.4.0 + 3.4.1 + 1.7.0 2.16 @@ -162,7 +189,7 @@ - com.github.eduramiba.webcamcapture + io.github.eduramiba.webcamcapture @@ -276,6 +303,9 @@ No Snapshots Allowed For Release Versions true + + com.github.sarxos:* + @@ -385,7 +415,7 @@ - + org.apache.maven.plugins maven-source-plugin @@ -396,6 +426,34 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + all,-missing + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + @@ -407,4 +465,15 @@ https://oss.sonatype.org/content/repositories/snapshots + + + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + diff --git a/src/main/java/com/github/eduramiba/webcamcapture/utils/Utils.java b/src/main/java/com/github/eduramiba/webcamcapture/utils/Utils.java index 2d7d641..a7d12d7 100644 --- a/src/main/java/com/github/eduramiba/webcamcapture/utils/Utils.java +++ b/src/main/java/com/github/eduramiba/webcamcapture/utils/Utils.java @@ -76,7 +76,7 @@ public class Utils { * Removes control characters (char <= 32) from both ends of this String returning an empty String ("") if the String is empty ("") after the trim or if it is {@code null}. * *

- * The String is trimmed using {@link String#trim()}. Trim removes start and end characters <= 32. To strip whitespace use {@link #stripToEmpty(String)}.

+ * The String is trimmed using {@link String#trim()}. Trim removes start and end characters <= 32. * *
      * Utils.trimToEmpty(null)          = ""