assert ISO_8859_1_ENCODE.equalsIgnoreCase( format ) || UTF_8_ENCODE.equalsIgnoreCase( format );
	protected static String urlEncode( String s, String format )	{		assert ISO_8859_1_ENCODE.equalsIgnoreCase( format )				|| UTF_8_ENCODE.equalsIgnoreCase( format );		String encodedString = s;		if ( s != null )		{			try			{				encodedString = URLEncoder.encode( s, format );			}			catch ( UnsupportedEncodingException e )			{				encodedString = s;			}		}		return encodedString;	}