| Modifier | Constructor and Description |
|---|---|
|
ClassPathResource(String path) |
|
ClassPathResource(String path,
Class<?> clazz) |
|
ClassPathResource(String path,
ClassLoader classLoader) |
protected |
ClassPathResource(String path,
ClassLoader classLoader,
Class<?> clazz) |
public ClassPathResource(String path)
public ClassPathResource(String path, ClassLoader classLoader)
protected ClassPathResource(String path, ClassLoader classLoader, Class<?> clazz)
public URL getURL() throws IOException
getURL in interface ResourceIOExceptionpublic URI getURI() throws IOException
getURI in interface ResourceIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface ResourceIOExceptionCopyright © 2013. All Rights Reserved.