Package com.day.util

Interface HandleExpander

  • All Known Implementing Classes:
    FileExpander, URLExpander

    public interface HandleExpander
    A HandleExpander is used to expand a globbing pattern to a list of handles, that match the given pattern. This 'expansiion' is done unix-shell-like. for example the pattern
    /site/*
    could be expanded to
    /site/en, /site/fr
    .
    Since:
    antbear Audience dev
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String[] expand​(java.lang.String pattern)
      Expand the handles to the given pattern.
    • Method Detail

      • expand

        java.lang.String[] expand​(java.lang.String pattern)
        Expand the handles to the given pattern.
        Parameters:
        pattern - the pattern to match.
        Returns:
        an array of handles that are expanded from the pattern