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

Method getParentFile

CodenameOne/src/com/codename1/io/File.java:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162 /// Returns the file object for the parent directory.
163 public File getParentFile() {
164 String parentPath = getParent();
165 if (parentPath == null) {
166 return null;
167 }
168 return new File(parentPath);
169 }
170
171 /// Gets the path to the file.
172 public String getPath() {

Callers 15

mkdirsMethod · 0.95
exectuteMethod · 0.95
selectFileMethod · 0.95
selectFileMethod · 0.95
migrateGuiBuilderMethod · 0.95
getProjectDirMethod · 0.95
getRelativePathMethod · 0.95
containsMethod · 0.95

Calls 1

getParentMethod · 0.95

Tested by

no test coverage detected