Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
exportResourceActionPerformed
Method · 0.95
refreshRecentMenu
Method · 0.95
pickJavaSourceLocation
Method · 0.95
okButtonActionPerformed
Method · 0.95
selectFile
Method · 0.95
doImportAndExit
Method · 0.95
isMergeMode
Method · 0.95
getMergedFile
Method · 0.95
install
Method · 0.95
Calls
2
substring
Method · 0.65
lastIndexOf
Method · 0.65
Tested by
no test coverage detected