FileDocCategorySizeDatePackage
DeweyDecimal.javaAPI DocApache Ant 1.701970Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs.optional.extension

DeweyDecimal

public final class DeweyDecimal extends org.apache.tools.ant.util.DeweyDecimal
Utility class to contain version numbers in "Dewey Decimal" syntax. Numbers in the "Dewey Decimal" syntax consist of positive decimal integers separated by periods ".". For example, "2.0" or "1.2.3.4.5.6.7". This allows an extensible number to be used to represent major, minor, micro, etc versions. The version number must begin with a number. Original Implementation moved to org.apache.tools.ant.util.DeweyDecimal

Fields Summary
Constructors Summary
public DeweyDecimal(int[] components)
Construct a DeweyDecimal from an array of integer components.

param
components an array of integer components.

        super(components);
    
public DeweyDecimal(String string)
Construct a DeweyDecimal from string in DeweyDecimal format.

param
string the string in dewey decimal format
exception
NumberFormatException if string is malformed

        super(string);
    
Methods Summary