Code example for CookieManager

Methods: getCookie

0
		} 
		return md5;
	} 
 
	public static String getCookie(CookieManager cookieManager, String url) {
		return cookieManager.getCookie(url);
	} 
 
	public static String convertUnixTime(int time) {
		if (time == 0) {
			return ""; 
		} 
		Date date = new Date(Long.valueOf(time) * 1000);
		SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm");
		String returnDate = format.format(date);
		return returnDate;
	} 
 
	public static String inputStreamToString(InputStream is) {
		String line = "";
		StringBuilder total = new StringBuilder();