Class TarScanner

    • Constructor Detail

      • TarScanner

        public TarScanner()
    • Method Detail

      • fillMapsFromArchive

        protected void fillMapsFromArchive​(Resource src,
                                           java.lang.String encoding,
                                           java.util.Map<java.lang.String,​Resource> fileEntries,
                                           java.util.Map<java.lang.String,​Resource> matchFileEntries,
                                           java.util.Map<java.lang.String,​Resource> dirEntries,
                                           java.util.Map<java.lang.String,​Resource> matchDirEntries)
        Fills the file and directory maps with resources read from the archive.
        Specified by:
        fillMapsFromArchive in class ArchiveScanner
        Parameters:
        src - the archive to scan.
        encoding - encoding used to encode file names inside the archive.
        fileEntries - Map (name to resource) of non-directory resources found inside the archive.
        matchFileEntries - Map (name to resource) of non-directory resources found inside the archive that matched all include patterns and didn't match any exclude patterns.
        dirEntries - Map (name to resource) of directory resources found inside the archive.
        matchDirEntries - Map (name to resource) of directory resources found inside the archive that matched all include patterns and didn't match any exclude patterns.