| |
|
| java.lang.Object nextapp.echo2.webrender.util.Resource
Resource | public class Resource (Code) | | Provides functionality for obtaining text and binary resource files.
|
Method Summary | |
public static byte[] | getResourceAsByteArray(String resourceName) Retrieves the specified resource as an array of byte s.
Parameters: resourceName - The name of the resource to be retrieved. | public static String | getResourceAsString(String resourceName) Retrieves the specified resource as a String .
Parameters: resourceName - The name of the resource to be retrieved. |
getResourceAsByteArray | public static byte[] getResourceAsByteArray(String resourceName)(Code) | | Retrieves the specified resource as an array of byte s.
Parameters: resourceName - The name of the resource to be retrieved. The specified resource as an array of bytes. |
getResourceAsString | public static String getResourceAsString(String resourceName)(Code) | | Retrieves the specified resource as a String .
Parameters: resourceName - The name of the resource to be retrieved. The specified resource as a String . |
|
|
|