Class MajorMinorVersionConverter
java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.version.VersionConverter
org.emau.icmvc.ganimed.ttp.cm2.version.MajorMinorVersionConverter
format: "x.y"; 0 <= x <= 999; 0 <= y <= 999
also valid: "x"; 0 <= x <= 999
attention: a.0b = a.b
also valid: "x"; 0 <= x <= 999
attention: a.0b = a.b
- Author:
- geidell
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MajorMinorVersionConverter
public MajorMinorVersionConverter()
-
-
Method Details
-
intToString
- Specified by:
intToString
in classVersionConverter
- Throws:
InvalidVersionException
-
stringToInt
- Specified by:
stringToInt
in classVersionConverter
- Throws:
InvalidVersionException
-
numberOfParts
public int numberOfParts()- Specified by:
numberOfParts
in classVersionConverter
-