| This class is a comparator to sort deployment URLs based on the existence
of a numeric prefix. The name portion of the URL is evaluated for any
leading digits. If they exist, then they will define a numerical ordering
for this comparator. If there is no leading digits, then they will
compare as less than any name with leading digits. In the case of a
tie, the DeploymentSorter is consulted (@see org.jboss.deployment.DeploymentSorter).
Ex.these names are in ascending order:
test.sar, crap.ear, 001test.jar, 5test.rar, 5foo.jar, 120bar.jar
|