Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { private static String uiBufferPath = null; public static String getCachePathByUrl(String url) { if (TextUtils.isEmpty(url)) { return null; } return uiBufferPath + url.hashCode(); } }