public class Resources extends Object
public static ClassLoader getDefaultClassLoader()
public static void setDefaultClassLoader(ClassLoader defaultClassLoader)
public static URL getResourceURL(String resource) throws IOException
IOException
public static URL getResourceURL(ClassLoader loader, String resource) throws IOException
IOException
public static InputStream getResourceAsStream(String resource) throws IOException
IOException
public static InputStream getResourceAsStream(ClassLoader loader, String resource) throws IOException
IOException
public static Properties getResourceAsProperties(String resource) throws IOException
IOException
public static Properties getResourceAsProperties(ClassLoader loader, String resource) throws IOException
IOException
public static Reader getResourceAsReader(String resource) throws IOException
IOException
public static Reader getResourceAsReader(ClassLoader loader, String resource) throws IOException
IOException
public static File getResourceAsFile(String resource) throws IOException
IOException
public static File getResourceAsFile(ClassLoader loader, String resource) throws IOException
IOException
public static InputStream getUrlAsStream(String urlString) throws IOException
IOException
public static Reader getUrlAsReader(String urlString) throws IOException
IOException
public static Properties getUrlAsProperties(String urlString) throws IOException
IOException
public static Class<?> classForName(String className) throws ClassNotFoundException
ClassNotFoundException
public static Charset getCharset()
public static void setCharset(Charset charset)
Copyright © 2010–2015 MyBatis.org. All rights reserved.