qat.common
Class Resources

java.lang.Object
  extended byqat.common.Resources

public class Resources
extends java.lang.Object


Constructor Summary
Resources()
           
 
Method Summary
static java.net.URL getImageResource(java.lang.String key)
          Returns the URL for an image to be loaded out of the jar file.
static java.net.URL getResource(java.lang.Class c, java.lang.String name)
           
static java.net.URL getResource(java.lang.String name)
           
static java.lang.String getString(java.lang.String s)
           
static java.util.ResourceBundle loadBundle(java.lang.String bundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

loadBundle

public static java.util.ResourceBundle loadBundle(java.lang.String bundle)

getString

public static java.lang.String getString(java.lang.String s)

getResource

public static java.net.URL getResource(java.lang.Class c,
                                       java.lang.String name)

getResource

public static java.net.URL getResource(java.lang.String name)

getImageResource

public static java.net.URL getImageResource(java.lang.String key)
Returns the URL for an image to be loaded out of the jar file.



See QAT project for licensing details