2026-03-17 13:31:18 -07:00

43 lines
1.2 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.xml.XElem
*/
package com.tridium.sys.module;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.baja.xml.XElem;
public class ModuleExtJar {
public String extFilename;
public Map entryPathsByResourcePath;
public Set resourcePaths;
public String getEntryPath(String string) {
String string2 = (String)this.entryPathsByResourcePath.get(string);
return string2 == null ? string : string2;
}
public ModuleExtJar(XElem xElem) {
this.extFilename = xElem.get("name");
this.entryPathsByResourcePath = new HashMap();
this.resourcePaths = new HashSet();
XElem[] xElemArray = xElem.elems("entry");
int n = 0;
while (n < xElemArray.length) {
String string = xElemArray[n].get("moduleEntryPath", null);
String string2 = xElemArray[n].get("resourcePath");
if (string != null) {
this.entryPathsByResourcePath.put(string2, string);
}
this.resourcePaths.add(string2);
++n;
}
}
}