org.opensourcephysics.resources.ejs
Class ejs_res

java.lang.Object
  extended by java.util.ResourceBundle
      extended by java.util.PropertyResourceBundle
          extended by org.opensourcephysics.resources.ejs.ejs_res
Direct Known Subclasses:
ejs_res_en, ejs_res_es, ejs_res_zh

public class ejs_res
extends java.util.PropertyResourceBundle

Resource loader for EJS. Resources are obtained from properties. Defining a Java resource class speeds up resource loading, particularly for applets because a connection to the server is not required.

Author:
Wolfgang Christian

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
java.util.ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
ejs_res()
          Constructor ejs_res
ejs_res(java.io.InputStream stream)
          Constructor ejs_res
 
Method Summary
 
Methods inherited from class java.util.PropertyResourceBundle
getKeys, handleGetObject, handleKeySet
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ejs_res

public ejs_res()
        throws java.io.IOException
Constructor ejs_res

Throws:
java.io.IOException

ejs_res

public ejs_res(java.io.InputStream stream)
        throws java.io.IOException
Constructor ejs_res

Parameters:
stream -
Throws:
java.io.IOException