MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getFileName

Method getFileName

ij/src/main/java/ij/io/OpenDialog.java:242–249  ·  view source on GitHub ↗

Returns the selected file name.

()

Source from the content-addressed store, hash-verified

240
241 /** Returns the selected file name. */
242 public String getFileName() {
243 if (name!=null) {
244 if (IJ.recording() && recordPath && dir!=null)
245 Recorder.recordPath(title, dir+name);
246 lastName = name;
247 }
248 return name;
249 }
250
251 /** Returns the selected file path or null if the dialog was canceled. */
252 public String getPath() {

Callers 15

openAsStringMethod · 0.95
openAsByteBufferMethod · 0.95
openDialogMethod · 0.95
openAsRawStringMethod · 0.95
runMethod · 0.95
runMethod · 0.95
openLutMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
openVirtualMethod · 0.95
runMethod · 0.95

Calls 2

recordingMethod · 0.95
recordPathMethod · 0.95

Tested by

no test coverage detected