code: public static String encodeString(final String value) {
      StringBuilder out = new StringBuilder();
      encodeString( value, out );
      return out.toString();
    }
docs: <p>encodeString</p>
  
  @param value a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.