private Map < String , VariantSet > getVariants ( String defaultSkin , Set < String > skinNames , String defaultLocaleName , Set < String > localeVariants ) { Map < String , VariantSet > skinVariants = new HashMap <> ( ) ; if ( ! skinNames . isEmpty ( ) ) { skinVariants . put ( JawrConstant . SKIN_VARIANT_TYPE , new VariantSet ( JawrConstant . SKIN_VARIANT_TYPE , defaultSkin , skinNames ) ) ; } if ( ! localeVariants . isEmpty ( ) ) { skinVariants . put ( JawrConstant . LOCALE_VARIANT_TYPE , new VariantSet ( JawrConstant . LOCALE_VARIANT_TYPE , defaultLocaleName , localeVariants ) ) ; } return skinVariants ; }
Returns the skin variants