java.lang.Object
uk.co.caprica.vlcj.support.version.Version
- All Implemented Interfaces:
Comparable<Version>
Encapsulation of version information and related behaviours.
This may be useful to implement version-specific features.
This implementation is not exhaustive, but is good enough for the known vlc versions.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Version
-
-
Method Details
-
version
-
major
public int major()Get the major version.- Returns:
- major version number
-
minor
public int minor()Get the minor version.- Returns:
- minor version number
-
revision
public int revision()Get the revision.- Returns:
- revision number
-
extra
-
atLeast
Test whether or not this version is at least the required version.- Parameters:
required
- required version- Returns:
true
if this version is at least (equal to or greater than) the required version
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Version>
-
toString
-