This interface defines the methods that classes with
ResourceWriter functionalities have to implement.
A ResourceWriter provides an abstract way of modifying
resources. According to a name, a resource and its content can be added,
updated or removed.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ See Also:com.uwyn.rife.resources.ResourceFinder since: 1.0
Method Summary
public void
addResource(String name, String content) Adds a resource with the provided name and content.
Adds a resource with the provided name and content.
Parameters: name - the name of the resource Parameters: content - the content of the resource exception: ResourceWriterErrorException - if an error occurred during theresource addition. since: 1.0
Removes the resource with the provided name.
Parameters: name - the name of the resource exception: ResourceWriterErrorException - if an error occurred during theresource removal. since: 1.0
Updates the content of the resource with the provided name.
Parameters: name - the name of the resource Parameters: content - the content of the resource exception: ResourceWriterErrorException - if an error occurred during theresource update. since: 1.0