@ SuppressWarnings ( "unchecked" ) public < T > T getField ( String key , String locale ) { if ( fields == null ) { return null ; } LinkedHashMap < String , Object > field = fields . get ( key ) ; if ( field == null ) { return null ; } else { return ( T ) field . get ( locale ) ; } }
Return a specific localized field .