com.pelzer.util
Class ClassPathResource
java.lang.Object
com.pelzer.util.ClassPathResource
public class ClassPathResource
- extends Object
Simple class to load files from the classpath. Used primarily by the PropertyManager to find
properties files.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassPathResource
public ClassPathResource(String path)
ClassPathResource
public ClassPathResource(String path,
ClassLoader classLoader)
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getDefaultClassLoader
public static ClassLoader getDefaultClassLoader()
Copyright © 2012. All Rights Reserved.