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

Method SystemInfo

jnode-core/src/jnode/main/SystemInfo.java:47–61  ·  view source on GitHub ↗
(MainHandler handler)

Source from the content-addressed store, hash-verified

45 private final String NDL;
46
47 public SystemInfo(MainHandler handler) {
48 sysop = handler.getProperty(INFO_SYSOP, "Nobody");
49 location = handler.getProperty(INFO_LOCATION, "Nowhere");
50 stationName = handler.getProperty(INFO_STATIONNAME, "Noname");
51 NDL = handler.getProperty(INFO_NDL, "MO,TCP,BINKP");
52 zone = new Integer(handler.getProperty(INFO_DEFAULT_ZONE, "2"));
53
54 String[] addra = handler.getProperty(INFO_ADDRESS, "2:9999/9999")
55 .replaceAll("[^\\/0-9,:\\.]", "").split(",");
56 addressList = new ArrayList<>();
57 for (String address : addra) {
58 addressList.add(new FtnAddress(address));
59 }
60
61 }
62
63 public String getSysop() {
64 return sysop;

Callers

nothing calls this directly

Calls 3

getPropertyMethod · 0.80
replaceAllMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected