com.khubla.pragmatach.framework.resourceloader
Class DefaultResourceLoaderImpl

java.lang.Object
  extended by com.khubla.pragmatach.framework.resourceloader.DefaultResourceLoaderImpl
All Implemented Interfaces:
ResourceLoader

public class DefaultResourceLoaderImpl
extends Object
implements ResourceLoader

Author:
tome

Constructor Summary
DefaultResourceLoaderImpl(javax.servlet.ServletContext servletContext)
          ctor
 
Method Summary
 InputStream getResource(String resource)
          get a resource using the servlet's class loader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResourceLoaderImpl

public DefaultResourceLoaderImpl(javax.servlet.ServletContext servletContext)
ctor

Method Detail

getResource

public InputStream getResource(String resource)
                        throws PragmatachException
get a resource using the servlet's class loader

Specified by:
getResource in interface ResourceLoader
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.