rachel
Class ResourceManager

java.lang.Object
  |
  +--rachel.ResourceManager

public class ResourceManager
extends java.lang.Object


Method Summary
 javax.swing.ImageIcon getResourceAsIcon(java.lang.String name)
           
 java.awt.image.BufferedImage getResourceAsImage(java.lang.String name)
           
 java.util.Properties getResourceAsProperties(java.lang.String name)
           
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 java.lang.String getResourceAsString(java.lang.String name)
           
 java.net.URL getResourceAsUrl(java.lang.String name)
           
 Document getResourceAsXmlDocument(java.lang.String name)
           
static ResourceManager getResourceManager()
           
 ResourceLoader setResourceLoader(ResourceLoader newLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setResourceLoader

public ResourceLoader setResourceLoader(ResourceLoader newLoader)

getResourceManager

public static ResourceManager getResourceManager()

getResourceAsIcon

public javax.swing.ImageIcon getResourceAsIcon(java.lang.String name)

getResourceAsImage

public java.awt.image.BufferedImage getResourceAsImage(java.lang.String name)
                                                throws java.io.IOException
java.io.IOException

getResourceAsProperties

public java.util.Properties getResourceAsProperties(java.lang.String name)
                                             throws java.io.IOException
java.io.IOException

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)

getResourceAsString

public java.lang.String getResourceAsString(java.lang.String name)
                                     throws java.io.IOException
java.io.IOException

getResourceAsUrl

public java.net.URL getResourceAsUrl(java.lang.String name)

getResourceAsXmlDocument

public Document getResourceAsXmlDocument(java.lang.String name)
                                  throws JDOMException
JDOMException


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