Interface FilePool

  • All Known Implementing Classes:
    ResourceFilePool

    public interface FilePool
    Interface with methods related to file pools.
    • Method Detail

      • resourceFileNames

        java.util.Set<java.lang.String> resourceFileNames()
        Returns a Set of all resource file names in this resource file pool.
      • getResourceFile

        ResourceFile getResourceFile​(java.lang.String fileName)
        Returns a ResourceFile from this pool, based on its name. Returns null if the instance with the given name is not in the pool.
      • resourceFilesAccept

        void resourceFilesAccept​(ResourceFileVisitor resourceFileVisitor)
        Applies the given ResourceFileVisitor to all instances in this pool.
      • resourceFilesAccept

        default void resourceFilesAccept​(java.lang.String fileNameFilter,
                                         ResourceFileVisitor resourceFileVisitor)
        Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.
      • resourceFilesAccept

        default void resourceFilesAccept​(java.util.List<java.lang.String> fileNameFilter,
                                         ResourceFileVisitor resourceFileVisitor)
        Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filters.
      • resourceFilesAccept

        void resourceFilesAccept​(StringMatcher fileNameFilter,
                                 ResourceFileVisitor resourceFileVisitor)
        Applies the given ResourceFileVisitor to all resource files in this pool matching the given file name filter.
      • resourceFileAccept

        default void resourceFileAccept​(java.lang.String fileName,
                                        ResourceFileVisitor resourceFileVisitor)
        Applies the given ResourceFileVisitor to the instance with the given name, if it is present in this pool.