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

Method getUserDirectory

src/org/opensourcephysics/controls/XML.java:405–408  ·  view source on GitHub ↗

Gets the default user directory. @return the user directory

()

Source from the content-addressed store, hash-verified

403 * @return the user directory
404 */
405 public static String getUserDirectory() {
406 String userDir = System.getProperty("user.dir", "."); //$NON-NLS-1$ //$NON-NLS-2$
407 return userDir;
408 }
409
410 /**
411 * Gets the path of the directory containing the specified file.

Callers 4

refreshMethod · 0.95
setTabSetBasePathMethod · 0.95
getPathRelativeToMethod · 0.95
getRelativePathMethod · 0.95

Calls 1

getPropertyMethod · 0.65

Tested by

no test coverage detected