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

Method getName

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

Source from the content-addressed store, hash-verified

133 ///
134 /// The file name.
135 public String getName() {
136 return path.substring(path.lastIndexOf('/') + 1);
137 }
138
139 /// Gets the parent directory path.
140 ///

Callers 9

refreshRecentMenuMethod · 0.95
selectFileMethod · 0.95
doImportAndExitMethod · 0.95
isMergeModeMethod · 0.95
getMergedFileMethod · 0.95
installMethod · 0.95

Calls 2

substringMethod · 0.65
lastIndexOfMethod · 0.65

Tested by

no test coverage detected