MCPcopy Create free account
hub / github.com/annmuor/jnode / JnodeModule

Method JnodeModule

jnode-core/src/jnode/module/JnodeModule.java:36–47  ·  view source on GitHub ↗
(String configFile)

Source from the content-addressed store, hash-verified

34 protected Properties properties;
35
36 public JnodeModule(String configFile) throws JnodeModuleException {
37 File config = new File(configFile);
38 if (!(config.exists() && config.canRead())) {
39 throw new JnodeModuleException("Config file " + configFile + " unavailable");
40 }
41 properties = new Properties();
42 try {
43 properties.load(new FileInputStream(config));
44 } catch (IOException e) {
45 throw new JnodeModuleException("Failed to load properties", e);
46 }
47 }
48
49 public abstract void start();
50}

Callers

nothing calls this directly

Calls 2

existsMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected