code: public static String encodeBrackets(final String input) {
  		if (input == null || input.length() == 0) {  // For performance reasons don't use Util.empty
  			return input;
  		}
  		return ENCODE_BRACKETS.translate(input);
  	}
docs: Encode open or closed brackets in the input String.
  
  @param input the String to encode open or closed brackets
  @return the String with encoded open or closed brackets