public class ClassLoaderWrapper extends Object
Modifier and Type | Method and Description |
---|---|
Class<?> |
classForName(String name) |
Class<?> |
classForName(String name,
ClassLoader classLoader) |
InputStream |
getResourceAsStream(String resource) |
InputStream |
getResourceAsStream(String resource,
ClassLoader classLoader) |
URL |
getResourceAsURL(String resource) |
URL |
getResourceAsURL(String resource,
ClassLoader classLoader) |
public URL getResourceAsURL(String resource, ClassLoader classLoader)
public InputStream getResourceAsStream(String resource)
public InputStream getResourceAsStream(String resource, ClassLoader classLoader)
public Class<?> classForName(String name) throws ClassNotFoundException
ClassNotFoundException
public Class<?> classForName(String name, ClassLoader classLoader) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2010–2015 MyBatis.org. All rights reserved.