MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getFile

Method getFile

src/org/opensourcephysics/tools/LaunchNode.java:1162–1167  ·  view source on GitHub ↗

Return an existing file with current file name and specified base. May return null. @return existing file, or null

()

Source from the content-addressed store, hash-verified

1160 * @return existing file, or null
1161 */
1162 public File getFile() {
1163 if (exists()) {
1164 return getResource().getFile();
1165 }
1166 return null;
1167 }
1168
1169 /**
1170 * Determines if this node matches another node.

Callers

nothing calls this directly

Calls 3

existsMethod · 0.95
getResourceMethod · 0.95
getFileMethod · 0.65

Tested by

no test coverage detected