static File [ ] getSortedArrayOfJournalFiles ( File journalDirectory , String filenamePrefix ) { JournalFileFilter filter = new JournalFileFilter ( filenamePrefix ) ; File [ ] journalFiles = journalDirectory . listFiles ( filter ) ; Arrays . sort ( journalFiles , new FilenameComparator ( ) ) ; return journalFiles ; }
Get the Journal Files that exist the Journal Directory sorted by name .