MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getParentFile

Method getParentFile

vm/JavaAPI/src/java/io/File.java:98–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 }
97
98 public File getParentFile() {
99 String p = getParent();
100 if (p == null) return null;
101 return new File(p);
102 }
103
104 public boolean isAbsolute() {
105 return path.startsWith(separator);

Callers 15

mainMethod · 0.95
projectRootMethod · 0.95
locateCn1RootMethod · 0.95
runMethod · 0.95
testCustomPathsMethod · 0.95
fixAttachmentPathMethod · 0.95
capturePhotoMethod · 0.95
captureVideoMethod · 0.95
locateCssThemeFileMethod · 0.95
findProjectRootMethod · 0.95
startSourceWatcherMethod · 0.95

Calls 1

getParentMethod · 0.95

Tested by 13

runMethod · 0.76
testCustomPathsMethod · 0.76
runProcessorMethod · 0.76
prepareTestsMethod · 0.76
locateNativeThemeMethod · 0.76
testCreateGuiFormMethod · 0.76
testCreateGuiDialogMethod · 0.76