MCPcopy Create free account
hub / github.com/BaseXdb/basex / setFile

Method setFile

basex-core/src/main/java/org/basex/gui/GUIOptions.java:268–270  ·  view source on GitHub ↗

Sets the string value of an option. The file path will be normalized. @param option option to be set @param file file to be assigned

(final StringOption option, final IOFile file)

Source from the content-addressed store, hash-verified

266 * @param file file to be assigned
267 */
268 public synchronized void setFile(final StringOption option, final IOFile file) {
269 set(option, file.normalize().path());
270 }
271
272 /**
273 * Returns the supported XML suffixes.

Callers 10

BaseXGUIMethod · 0.95
GUIOptionsMethod · 0.95
chooseStopMethod · 0.95
changeRootMethod · 0.80
EditorAreaMethod · 0.80
refreshHistoryMethod · 0.80
saveMethod · 0.80
actionMethod · 0.80
actionMethod · 0.80
chooseMethod · 0.80

Calls 3

setMethod · 0.65
pathMethod · 0.45
normalizeMethod · 0.45

Tested by

no test coverage detected