org.constretto.model
Class ClassPathResource

java.lang.Object
  extended by org.constretto.model.Resource
      extended by org.constretto.model.ClassPathResource

public class ClassPathResource
extends Resource

Author:
Kaare Nilsen

Field Summary
 
Fields inherited from class org.constretto.model.Resource
CLASSPATH_PREFIX, FILE_PREFIX
 
Constructor Summary
ClassPathResource(String path)
           
 
Method Summary
 boolean exists()
           
 InputStream getInputStream()
           
 
Methods inherited from class org.constretto.model.Resource
create, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassPathResource

public ClassPathResource(String path)
Method Detail

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in class Resource

exists

public boolean exists()
Specified by:
exists in class Resource


Copyright © 2008-2013. All Rights Reserved.