public String getDefaultApplicationName(ReadableArchive archive) { return getDefaultApplicationName(archive, null); }
public String getDefaultApplicationNameFromArchiveName(ReadableArchive archive) { String appName = archive.getName(); int lastDot = appName.lastIndexOf('.'); if (lastDot != -1) { if (appName.substring(lastDot).equalsIgnoreCase("." + getArchiveType())) { appName = appName.substring(0, lastDot); } } return appName; }
int lastDot = appName.lastIndexOf('.'); if (lastDot != -1) { if (appName.substring(lastDot).equalsIgnoreCase("." + getArchiveType())) { appName = appName.substring(0, lastDot);
public String getDefaultApplicationName(ReadableArchive archive) { return getDefaultApplicationName(archive, null); }