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