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 Detail

      • expand

        String[] expand​(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