java.lang.Objectorg.jboss.deployment.scanner.PrefixDeploymentSorter
All Implemented Interfaces:
DefaultDeploymentSorter, Comparator
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
| Method from org.jboss.deployment.scanner.PrefixDeploymentSorter Summary: |
|---|
| compare, getSuffixOrder, setSuffixOrder |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.jboss.deployment.scanner.PrefixDeploymentSorter Detail: |
|---|
|
|
|