Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { public static String convertUrlToFileName(String url) { String[] strs = url.split("/"); return strs[strs.length - 1]; //return strs[strs.length - 1] + WHOLESALE_CONV; } }