Class GenericBundle

java.lang.Object
org.graffiti.core.GenericBundle
Direct Known Subclasses:
ImageBundle, StringBundle

public abstract class GenericBundle
extends Object
A generalized localized resource bundle.
  • Method Details

    • getRes

      public URL getRes​(String s)
      Returns the relative location of the specified resource.
      Parameters:
      s - the name of the resource.
      Returns:
      the relative location of the specified resource.
    • getString

      public String getString​(String id)
      Returns the specified String from the properties, null if there is no such key.
      Parameters:
      id - the key of the String to look up.
      Returns:
      the value of the looked up key.