Package com.day.util

Class URLExpander

  • All Implemented Interfaces:
    HandleExpander

    public class URLExpander
    extends java.lang.Object
    implements HandleExpander
    The handler expander is used to expand a globbing pattern to a list of handles, that match the given pattern.
    Since:
    antbear
    • Constructor Summary

      Constructors 
      Constructor Description
      URLExpander()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] expand​(java.lang.String pattern)
      Expand the handles.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • URLExpander

        public URLExpander()
    • Method Detail

      • expand

        public java.lang.String[] expand​(java.lang.String pattern)
        Expand the handles. assuming fully qualified URI's
        Specified by:
        expand in interface HandleExpander
        Parameters:
        pattern - the pattern to match.
        Returns:
        an array of handles that are expanded from the pattern