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