private String render ( boolean compact ) { StringBuilder buf = new StringBuilder ( ) ; render ( buf , LANGUAGE , UNDEF_LANGUAGE , compact ) ; render ( buf , SCRIPT , UNDEF_SCRIPT , compact ) ; render ( buf , TERRITORY , UNDEF_TERRITORY , compact ) ; render ( buf , VARIANT , UNDEF_VARIANT , compact ) ; return buf . toString ( ) ; }
Render this locale to a string in compact or expanded form .