Interface ResourceFile.Finder

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface it.tidalwave.util.Finder

        it.tidalwave.util.Finder.InMemorySortCriterion<U extends java.lang.Object>, it.tidalwave.util.Finder.SortCriterion, it.tidalwave.util.Finder.SortDirection
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      boolean isRecursive()  
      ResourceFile.Finder withName​(java.lang.String name)
      Sets the name of the child to find.
      ResourceFile.Finder withRecursion​(boolean recursion)
      Sets the recursion mode for search.
      • Methods inherited from interface it.tidalwave.util.spi.ExtendedFinderSupport

        from, max, sort, sort, withContext
      • Methods inherited from interface it.tidalwave.util.Finder

        count, firstResult, iterator, ofType, optionalFirstResult, optionalResult, result, results, stream
    • Method Detail

      • withRecursion

        @Nonnull
        ResourceFile.Finder withRecursion​(boolean recursion)
        Sets the recursion mode for search.
        Parameters:
        recursion - whether the search must be recursive
        Returns:
        a cloned finder
      • withName

        @Nonnull
        ResourceFile.Finder withName​(@Nonnull
                                     java.lang.String name)
        Sets the name of the child to find.
        Parameters:
        name - the name of the file
        Returns:
        a cloned finder
      • getName

        java.lang.String getName()
      • isRecursive

        boolean isRecursive()