public static void setSeparators ( @ Nonnull @ Nonempty final String sOpen , @ Nonnull @ Nonempty final String sClose ) { ValueEnforcer . notEmpty ( sOpen , "Open" ) ; ValueEnforcer . notEmpty ( sClose , "Close" ) ; ValueEnforcer . isFalse ( sOpen . contains ( sClose ) , "open may not contain close" ) ; ValueEnforcer . isFalse ( sClose . contains ( sOpen ) , "close may not contain open" ) ; s_sOpen = sOpen ; s_sClose = sClose ; }
Set the separators to use .