Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Method · 0.95
projectRoot
Method · 0.95
locateCn1Root
Method · 0.95
run
Method · 0.95
locateArchetypeSettings
Method · 0.95
testCustomPaths
Method · 0.95
fixAttachmentPath
Method · 0.95
capturePhoto
Method · 0.95
captureVideo
Method · 0.95
locateCssThemeFile
Method · 0.95
findProjectRoot
Method · 0.95
startSourceWatcher
Method · 0.95
Calls
1
getParent
Method · 0.95
Tested by
13
run
Method · 0.76
locateArchetypeSettings
Method · 0.76
testCustomPaths
Method · 0.76
runProcessor
Method · 0.76
prepareTests
Method · 0.76
locateNativeTheme
Method · 0.76
returnsNullForUnrelatedJarLocation
Method · 0.76
skipsUnexpectedEntriesAndStillExtractsDesignerJar
Method · 0.76
testCreateGuiForm
Method · 0.76
testCreateGuiContainer
Method · 0.76
testCreateGuiDialog
Method · 0.76
testSimpleQueriesInCustomPath
Method · 0.36