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

Method getPath

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

Returns the selected file path or null if the dialog was canceled.

()

Source from the content-addressed store, hash-verified

250
251 /** Returns the selected file path or null if the dialog was canceled. */
252 public String getPath() {
253 if (getFileName()==null)
254 return null;
255 else return
256 getDirectory() + getFileName();
257 }
258
259 /** Returns the default directory as a string
260 * ending in the separator character ("/" or "\"),

Callers 3

getFilePathMethod · 0.95
jOpenDispatchThreadMethod · 0.45
runMethod · 0.45

Calls 2

getFileNameMethod · 0.95
getDirectoryMethod · 0.95

Tested by

no test coverage detected