public static String getFilePath(String completePath) { completePath = Filters.replaceChar(completePath, '\\', '/'); return completePath.substring(0, completePath.lastIndexOf('/')); }
public static String getFileNameSuffix(String completePath) { completePath = Filters.replaceChar(completePath, '\\', '/'); return completePath.substring(completePath.lastIndexOf('.') + 1); }