/** ** Return orientation of given locale ** ** @param loc Locale to obtain orientation ** @return String with two possible values "rtl" or "ltr" ** @author jjmerono **/ public String getOrientation(Locale loc) { String [] locales = ServerConfigurationService.getStrings("locales.rtl"); if (locales==null) { locales = new String[]{"ar","dv","fa","ha","he","iw","ji","ps","ur","yi"}; } return ArrayUtil.contains(locales,loc.getLanguage())?"rtl":"ltr"; }
if (ArrayUtil.contains(es.summarizableToolIds(), toolIdentifier))
if (ArrayUtil.contains(es.summarizableToolIds(), toolIdentifier))