electric.util.resourceloader
Class ResourceLoaders
java.lang.Object
electric.util.resourceloader.ResourceLoaders
- All Implemented Interfaces:
- ILoggingConstants
- public class ResourceLoaders
- extends java.lang.Object
- implements ILoggingConstants
ResourceLoaders
- Author:
- webMethods
Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLoaders
public ResourceLoaders()
addResourceLoader
public static void addResourceLoader(java.lang.String protocol,
IResourceLoader loader)
- Parameters:
protocol
- loader
-
getResourceLoader
public static IResourceLoader getResourceLoader(java.lang.String protocol)
- Parameters:
protocol
-
getFileResourceLoader
public static FileResourceLoader getFileResourceLoader()
loadResource
public static byte[] loadResource(java.lang.String path)
throws java.io.IOException
- Parameters:
path
-
- Throws:
java.io.IOException
loadResource
public static byte[] loadResource(java.lang.String path,
Context context)
throws java.io.IOException
- Parameters:
path
- context
-
- Throws:
java.io.IOException
copyright© 2001-2004 by webMethods All Rights Reserved.