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