rachel.loader
Class ClassResourceLoader

java.lang.Object
  |
  +--rachel.loader.ClassResourceLoader
All Implemented Interfaces:
ResourceLoader

public class ClassResourceLoader
extends java.lang.Object
implements ResourceLoader


Constructor Summary
ClassResourceLoader(java.lang.Class anchor)
           
 
Method Summary
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 java.net.URL getResourceAsUrl(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassResourceLoader

public ClassResourceLoader(java.lang.Class anchor)
Method Detail

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)
Specified by:
getResourceAsStream in interface ResourceLoader

getResourceAsUrl

public java.net.URL getResourceAsUrl(java.lang.String name)
Specified by:
getResourceAsUrl in interface ResourceLoader


Copyright 2001,2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo