|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdevplugin.Version
public final class Version
A class for the Version value off TV-Browser and it's plugins.
| Constructor Summary | |
|---|---|
Version(int major,
int minor)
Creates an instance of this class. |
|
Version(int major,
int minor,
boolean isStable)
Creates an instance of this class. |
|
Version(int major,
int minor,
boolean isStable,
String name)
Creates an instance of this class. |
|
Version(int major,
int minor,
int subMinor)
Creates an instance of this class. |
|
Version(int major,
int minor,
int subMinor,
boolean isStable)
Creates an instance of this class. |
|
Version(int major,
int minor,
int subMinor,
boolean isStable,
String name)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
|
int |
getMajor()
Gets the major version. |
int |
getMinor()
Gets the minor version. |
int |
getSubMinor()
Gets the sub minor version |
boolean |
isStable()
Gets if this version is stable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Version(int major,
int minor)
major - The major version (the first number).minor - The minor version (used for the second and third number).
public Version(int major,
int minor,
boolean isStable)
major - The major version (the first number).minor - The minor version (used for the second and third number).isStable - If the version is stable.
public Version(int major,
int minor,
boolean isStable,
String name)
major - The major version (the first number).minor - The minor version (used for the second and third number).isStable - If the version is stable.name - The name String of this verison, use null
to let the name be created from the version numbers.
public Version(int major,
int minor,
int subMinor)
major - The major version (the first number).minor - The minor version (used for the second and third number).subMinor - The sub minor version (the 4th number).
public Version(int major,
int minor,
int subMinor,
boolean isStable)
major - The major version (the first number).minor - The minor version (used for the second and third number).subMinor - The sub minor version (the 4th number).isStable - If the version is stable.
public Version(int major,
int minor,
int subMinor,
boolean isStable,
String name)
major - The major version (the first number).minor - The minor version (used for the second and third number).subMinor - The sub minor version (the 4th number).isStable - If the version is stable.name - The name String of this verison, use null
to let the name be created from the version numbers.| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean isStable()
True if the version is stable,
false otherwise.public int getMajor()
public int getMinor()
public int getSubMinor()
public int compareTo(Object obj)
throws ClassCastException
compareTo in interface ComparableClassCastExceptionpublic boolean equals(Object obj)
equals in class Object
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||