private Node getNestedNode ( ArchivePath path ) { // Iterate through nested archives for ( Entry < ArchivePath , ArchiveAsset > nestedArchiveEntry : nestedArchives . entrySet ( ) ) { ArchivePath archivePath = nestedArchiveEntry . getKey ( ) ; ArchiveAsset archiveAsset = nestedArchiveEntry . getValue ( ) ; // Check to see if the requested path starts with the nested archive path if ( startsWith ( path , archivePath ) ) { Archive < ? > nestedArchive = archiveAsset . getArchive ( ) ; // Get the asset path from within the nested archive ArchivePath nestedAssetPath = getNestedPath ( path , archivePath ) ; // Recurse the call to the nested archive return nestedArchive . get ( nestedAssetPath ) ; } } return null ; }
Attempt to get the asset from a nested archive .