Class AbstractPlexusIoResourceCollection

    • Constructor Detail

      • AbstractPlexusIoResourceCollection

        protected AbstractPlexusIoResourceCollection()
    • Method Detail

      • setExcludes

        public void setExcludes​(String[] excludes)
        Sets a string of patterns, which excluded files should match.
      • getExcludes

        public String[] getExcludes()
        Returns a string of patterns, which excluded files should match.
      • setFileSelectors

        public void setFileSelectors​(FileSelector[] fileSelectors)
        Sets a set of file selectors, which should be used to select the included files.
      • getFileSelectors

        public FileSelector[] getFileSelectors()
        Returns a set of file selectors, which should be used to select the included files.
      • setIncludes

        public void setIncludes​(String[] includes)
        Sets a string of patterns, which included files should match.
      • getIncludes

        public String[] getIncludes()
        Returns a string of patterns, which included files should match.
      • setPrefix

        public void setPrefix​(String prefix)
        Sets the prefix, which the file sets contents shall have.
      • getPrefix

        public String getPrefix()
        Returns the prefix, which the file sets contents shall have.
      • setCaseSensitive

        public void setCaseSensitive​(boolean caseSensitive)
        Sets, whether the include/exclude patterns are case sensitive. Defaults to true.
      • isCaseSensitive

        public boolean isCaseSensitive()
        Returns, whether the include/exclude patterns are case sensitive. Defaults to true.
      • setUsingDefaultExcludes

        public void setUsingDefaultExcludes​(boolean usingDefaultExcludes)
        Sets, whether the default excludes are being applied. Defaults to true.
      • isUsingDefaultExcludes

        public boolean isUsingDefaultExcludes()
        Returns, whether the default excludes are being applied. Defaults to true.
      • setIncludingEmptyDirectories

        public void setIncludingEmptyDirectories​(boolean includingEmptyDirectories)
        Sets, whether empty directories are being included. Defaults to true.
      • isIncludingEmptyDirectories

        public boolean isIncludingEmptyDirectories()
        Returns, whether empty directories are being included. Defaults to true.
      • getFileMappers

        public FileMapper[] getFileMappers()
        Returns the file name mappers, which are used to transform the resource names.
      • setFileMappers

        public void setFileMappers​(FileMapper[] fileMappers)
        Sets the file name mappers, which are used to transform the resource names.
      • getName

        protected String getName​(String resourceName)