\r
import java.util.StringTokenizer;\r
\r
-\r
+/**\r
+ * <p>\r
+ * An implementation of the distribution id using the standard\r
+ * Major.Minor.Release notation. And additional arbitrary string can also be\r
+ * added.\r
+ * </p>\r
+ * \r
+ * <p>\r
+ * <b>Examples:</b><br>\r
+ * 0.2.6<br>\r
+ * 2.4.12.RC1\r
+ * </p>\r
+ */\r
public class VersionDistributionId implements DistributionId {\r
\r
private Integer major;\r
private Integer release;\r
private String additional;\r
\r
+ /** Parse the provided string in order to set the various components. */\r
public void setVersionString(String str) {\r
StringTokenizer st = new StringTokenizer(str, ".");\r
if (st.hasMoreTokens())\r