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

Method stopFile

basex-core/src/main/java/org/basex/util/Main.java:40–43  ·  view source on GitHub ↗

Generates a stop file for the specified class and port. @param clazz class name @param port port @return stop file

(final Class<?> clazz, final int port)

Source from the content-addressed store, hash-verified

38 * @return stop file
39 */
40 protected static IOFile stopFile(final Class<?> clazz, final int port) {
41 final String file = Util.className(clazz).toLowerCase(Locale.ENGLISH) + "stop-" + port + ".tmp";
42 return new IOFile(new IOFile(Prop.TEMPDIR, Prop.PROJECT), file);
43 }
44
45 /**
46 * Returns a header string for command-line information.

Callers 4

stopMethod · 0.80
StopServerMethod · 0.80
BaseXServerMethod · 0.80
stopMethod · 0.80

Calls 1

classNameMethod · 0.95

Tested by

no test coverage detected