Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String getFIleNameFromUrl(String url) {
try {
int tmp = url.lastIndexOf("/");
return url.substring(tmp + 1, url.length());
} catch (Exception ex) {
return "";
}
}
}