标签:ret ssl check cep str ring rap throw class
ClassLoader .getResources(), ClassLoader.getSystemResources()
public Enumeration<URL> getResources(String name) throws IOException { @SuppressWarnings("unchecked") Enumeration<URL>[] tmp = (Enumeration<URL>[]) new Enumeration<?>[2]; if (parent != null) { tmp[0] = parent.getResources(name); } else { tmp[0] = getBootstrapResources(name); } tmp[1] = findResources(name); return new CompoundEnumeration<>(tmp); }
public static Enumeration<URL> getSystemResources(String name) throws IOException { ClassLoader system = getSystemClassLoader(); if (system == null) { return getBootstrapResources(name); } return system.getResources(name); }
标签:ret ssl check cep str ring rap throw class
原文地址:https://www.cnblogs.com/wongandy/p/11517622.html