public List < String > getSubjectLanguages ( ) { Subject defaultSubject = getMessageSubject ( null ) ; List < String > languages = new ArrayList < String > ( ) ; for ( Subject subject : subjects ) { if ( ! subject . equals ( defaultSubject ) ) { languages . add ( subject . language ) ; } } return Collections . unmodifiableList ( languages ) ; }
Returns all the languages being used for the subjects not including the default subject .