| java.lang.Object com.sun.portal.rewriter.util.Resource
Resource | final public class Resource (Code) | | Utilitity class to read resource from a filesystem or from jar file
(useses java classloader to achive this).
version: 1.0 12/15/2001 author: Raja Nagendra Kumar, Nagendra.Raja@sun.com |
readBytes | public static byte[] readBytes(String aResourceLocation)(Code) | | |
readBytes | public static byte[] readBytes(String aResourceLocation, Class aClass)(Code) | | |
readXML | public static String readXML(String aResourceLocation, Class aClass)(Code) | | i18n way - Create the Dom Object and Get the Reader from the dom
|
save | public static boolean save(String aFileName, byte[] aContentArray)(Code) | | |
|
|