if ( rb != null ) {
// this is the 4.8 style - name and description
// First try file desc. If no file desc, try for a directory desc, else try fallback
comment =
rb.containsKey( DESC_PROPERTY_NAME ) ? rb.getString( DESC_PROPERTY_NAME ) : rb
.containsKey( FILE_DESCRIPTION ) ? rb.getString( FILE_DESCRIPTION ) : rb
.containsKey( DIRECTORY_DESCRIPTION ) ? rb.getString( DIRECTORY_DESCRIPTION ) : comment;
// First try name. If no name, try title. If no title, try for a directory name, else use filename.
fileTitle =
rb.containsKey( TITLE_PROPERTY_NAME ) ? rb.getString( TITLE_PROPERTY_NAME ) : rb.containsKey( "title" )