private synchronized List < Entry > getEntriesList ( DirectoryEntry directory ) { List < Entry > entries = contents . get ( directory ) ; if ( entries == null ) { entries = new ArrayList < Entry > ( ) ; contents . put ( directory , entries ) ; } return entries ; }
Gets the list of entries in the specified directory .