rachel.loader
Class FileResourceLoader

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

public class FileResourceLoader
extends java.lang.Object
implements ResourceLoader


Constructor Summary
FileResourceLoader(java.io.File root)
           
 
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

FileResourceLoader

public FileResourceLoader(java.io.File root)
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