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

Method openFromIJJarAsString

ij/src/main/java/ij/util/Tools.java:366–368  ·  view source on GitHub ↗

Opens a text file in ij.jar as a String (example path: "/macros/Circle_Tool.txt").

(String path)

Source from the content-addressed store, hash-verified

364
365 /** Opens a text file in ij.jar as a String (example path: "/macros/Circle_Tool.txt"). */
366 public static String openFromIJJarAsString(String path) {
367 return (new ij.plugin.MacroInstaller()).openFromIJJar(path);
368 }
369
370 /** Copies the contents of the file at 'path1' to 'path2', returning an error message
371 (as a non-empty string) if there is an error. Based on the method with the

Callers 2

FunctionFinderMethod · 0.95
createMacroMethod · 0.95

Calls 1

openFromIJJarMethod · 0.80

Tested by

no test coverage detected