rachel.loader
Class JarResourceLoader

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

public class JarResourceLoader
extends java.lang.Object
implements ResourceLoader


Constructor Summary
JarResourceLoader(java.io.File file)
           
JarResourceLoader(java.net.URL url)
           
 
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

JarResourceLoader

public JarResourceLoader(java.net.URL url)
                  throws java.io.IOException

JarResourceLoader

public JarResourceLoader(java.io.File file)
                  throws java.io.IOException
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