Package org.apache.juneau.internal
Class VersionRange
java.lang.Object
org.apache.juneau.internal.VersionRange
Represents an OSGi-style version range like "1.2" or "[1.0,2.0)" .
The range can be any of the following formats:
"[0,1.0)" = Less than 1.0. 1.0 and 1.0.0 does not match."[0,1.0]" = Less than or equal to 1.0. Note that 1.0.1 will match."1.0" = At least 1.0. 1.0 and 2.0 will match.
See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VersionRange
Constructor.- Parameters:
range
- The range string to parse.
-
-
Method Details