Esempio n. 1
0
 public static java.io.File getParentFilePath(String filePath) {
   File f = new File(filePath);
   return f.getParentFile();
 }
Esempio n. 2
0
 public static String getParentPath(String filePath) {
   File f = new File(filePath);
   return f.getParentFile().toString();
 }