com.pelzer.util
Class ClassPathResource

java.lang.Object
  extended by 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.


Constructor Summary
ClassPathResource(String path)
           
ClassPathResource(String path, ClassLoader classLoader)
           
 
Method Summary
static ClassLoader getDefaultClassLoader()
           
 InputStream getInputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathResource

public ClassPathResource(String path)

ClassPathResource

public ClassPathResource(String path,
                         ClassLoader classLoader)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getDefaultClassLoader

public static ClassLoader getDefaultClassLoader()


Copyright © 2012. All Rights Reserved.