org.weborganic.bastille.util
Class Resources

java.lang.Object
  extended by org.weborganic.bastille.util.Resources

public final class Resources
extends Object

A utility class to return resources.


Method Summary
static byte[] getResource(String name)
          Returns the requested resource or null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResource

public static byte[] getResource(String name)
Returns the requested resource or null.

Parameters:
name - the name of the resource to retrieve.
Returns:
the corresponding byte array or null if not found or I/O error occurs.