Package co.ecg.alpaca.server.framework
Class ResourceLoader
java.lang.Object
co.ecg.alpaca.server.framework.ResourceLoader
Resource ResourceLoader Class - Adapted From the log4j Resource
ResourceLoader. Attempts to retrieve a resource by name by checking various
class and context loaders to determine a possible location.
- Version:
- $Id: $Id
- Author:
- Matthew Keathley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLgetResource(String resource) Attempts to find the URL to a given resource name.
-
Constructor Details
-
ResourceLoader
public ResourceLoader()
-
-
Method Details
-
getResource
Attempts to find the URL to a given resource name.- Parameters:
resource- The resource by name.- Returns:
- Returns the URL to the given resource.
-