|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.co.caprica.vlcj.version.Version
public final class Version
Encapsulation of version information and related behaviours.
This may be useful to implement version-specific features.
| Constructor Summary | |
|---|---|
Version(java.lang.String version)
Create a new version. |
|
| Method Summary | |
|---|---|
int |
compareTo(Version o)
|
int |
major()
Get the major version. |
int |
minor()
Get the minor version. |
int |
revision()
Get the revision. |
java.lang.String |
toString()
|
java.lang.String |
version()
Get the original version string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Version(java.lang.String version)
version - version string| Method Detail |
|---|
public java.lang.String version()
public int major()
public int minor()
public int revision()
public int compareTo(Version o)
compareTo in interface java.lang.Comparable<Version>public java.lang.String toString()
toString in class java.lang.Object
|
(C)2010 Caprica Software Limited | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||