org.freeshell.zs.common
Class ResourceManipulator

java.lang.Object
  extended by org.freeshell.zs.common.ResourceManipulator

public class ResourceManipulator
extends java.lang.Object

Perform resource-related operations.


Constructor Summary
ResourceManipulator()
           
 
Method Summary
static java.lang.String resourceAsString(java.lang.String name)
          Return the contents of the specified resource as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceManipulator

public ResourceManipulator()
Method Detail

resourceAsString

public static java.lang.String resourceAsString(java.lang.String name)
                                         throws java.io.IOException
Return the contents of the specified resource as a string.

Parameters:
name - name of the resource
Returns:
contents of the resource as a string
Throws:
java.io.IOException - if an I/O error occurs while reading the resource