code: public static String encodeString(final String string) {
  		String encodedString = null;
  
  		try {
  			encodedString = encodeString(string, "UTF-8");
  		} catch (UnsupportedEncodingException uue) {
  			// Should never happen, java has to support "UTF-8".
  		}
  
  		return encodedString;
  	}
docs: Encodes a string into Base64 format. No blanks or line breaks are inserted.
  
  @param string a String to be encoded.
  @return A String with the Base64 encoded data.