String () { String url; if (myUrl.endsWith(URLUtil.JAR_SEPARATOR)) { url = myUrl.substring(0, myUrl.length() - URLUtil.JAR_SEPARATOR.length()); } else { url = myUrl; } int startIndex = Math.min(url.lastIndexOf('/') + 1, url.length() - 1); return url.substring(startIndex); }