private Set < ChmEntry > buildEntryList ( ) throws TikaException { Set < ChmEntry > entries = new TreeSet <> ( ) ; for ( DirectoryListingEntry entry : chmExtractor . getChmDirList ( ) . getDirectoryListingEntryList ( ) ) { String name = entry . getName ( ) ; if ( name . startsWith ( "/" ) && ! name . equals ( "/" ) && ! name . startsWith ( "/$" ) ) { entries . add ( new ChmEntry ( entry ) ) ; } } return entries ; }
Builds the list of archive file entries .