showSimpleFileName static method
strips off the nase URL leaving only the simple file name.
Implementation
static String showSimpleFileName(String fileName) {
String simpleFileName = "";
if (fileName.toLowerCase().startsWith("http://") ||
fileName.toLowerCase().startsWith("https://")) {
simpleFileName = fileName.substring(fileName.lastIndexOf("/") + 1);
}
return simpleFileName;
}