org.constretto.model
Class FileResource

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

public class FileResource
extends Resource

Author:
Kaare Nilsen

Field Summary
 
Fields inherited from class org.constretto.model.Resource
CLASSPATH_PREFIX, FILE_PREFIX
 
Constructor Summary
FileResource(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

FileResource

public FileResource(String path)
Method Detail

exists

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

getInputStream

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


Copyright © 2008-2013. All Rights Reserved.