Example usage for Java org.apache.ibatis.io Resources fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | classForName(String className) Loads a class |
File | getResourceAsFile(String resource) Returns a resource on the classpath as a File object |
Properties | getResourceAsProperties(String resource) Returns a resource on the classpath as a Properties object |
Reader | getResourceAsReader(String resource) Returns a resource on the classpath as a Reader object |
Reader | getResourceAsReader(ClassLoader loader, String resource) Returns a resource on the classpath as a Reader object |
InputStream | getResourceAsStream(String resource) Returns a resource on the classpath as a Stream object |
InputStream | getResourceAsStream(ClassLoader loader, String resource) Returns a resource on the classpath as a Stream object |
URL | getResourceURL(String resource) Returns the URL of the resource on the classpath |
Properties | getUrlAsProperties(String urlString) Gets a URL as a Properties object |
Reader | getUrlAsReader(String urlString) Gets a URL as a Reader |
InputStream | getUrlAsStream(String urlString) Gets a URL as an input stream |