Package org.sapia.resource

Interface Summary
Resource Abstracts a file resource.
ResourceCapable Specifies the behavior of classes that can resolve resources.
ResourceHandler Specifies the behavior of classes used to resolve resources.
Schemes  
URLCapable This interface is implemented by Resource instances that are "capable" of returning a URL corresponding to their underlying resource.
 

Class Summary
ClasspathResourceHandler Handles resources on the classpath.
FileResource Implements a Resource over a File
FileResourceHandler Resolves resources from the file system.
ResourceHandlerChain This class implements a chain of responsibility: an instance of this class holds a list of ResourceHandler instances.
StringResource Implements the Resource interface over a string.
UrlResource Implements a Resource over a URL
UrlResourceHandler Implements a ResourceHandler that produces UrlResource instances.
Utils This class holds various utility methods.
 

Exception Summary
ResourceNotFoundException Thrown when a resource could not be found.
 



Copyright © 2011 Sapia OSS. All Rights Reserved.