org.apache.ibatis.io
Class ClassLoaderWrapper

java.lang.Object
  extended by org.apache.ibatis.io.ClassLoaderWrapper

public class ClassLoaderWrapper
extends Object


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResourceAsURL

public URL getResourceAsURL(String resource)

getResourceAsURL

public URL getResourceAsURL(String resource,
                            ClassLoader classLoader)

getResourceAsStream

public InputStream getResourceAsStream(String resource)

getResourceAsStream

public InputStream getResourceAsStream(String resource,
                                       ClassLoader classLoader)

classForName

public Class<?> classForName(String name)
                      throws ClassNotFoundException
Throws:
ClassNotFoundException

classForName

public Class<?> classForName(String name,
                             ClassLoader classLoader)
                      throws ClassNotFoundException
Throws:
ClassNotFoundException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.