luxor.core.loader
Class XulJarResourceLoaderHelper

java.lang.Object
  |
  +--luxor.core.loader.XulJarResourceLoaderHelper
All Implemented Interfaces:
XulResourceLoader

public class XulJarResourceLoaderHelper
extends java.lang.Object
implements XulResourceLoader


Constructor Summary
XulJarResourceLoaderHelper(java.io.File file, java.util.jar.JarFile jarFile)
           
 
Method Summary
 java.util.List getBootstrapEntries()
          note: only returns core entries, not all entries layout info and html templates are loaded on demand
 java.lang.Object getConfigData(java.lang.String key)
          note: properties should be loaded automatically in the loader's constructor to make them available immediately there's no need to call XulManager.load() all property files in the locale tree should be included
 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

XulJarResourceLoaderHelper

public XulJarResourceLoaderHelper(java.io.File file,
                                  java.util.jar.JarFile jarFile)
Method Detail

getBootstrapEntries

public java.util.List getBootstrapEntries()
Description copied from interface: XulResourceLoader
note: only returns core entries, not all entries layout info and html templates are loaded on demand

Specified by:
getBootstrapEntries in interface XulResourceLoader

getConfigData

public java.lang.Object getConfigData(java.lang.String key)
Description copied from interface: XulResourceLoader
note: properties should be loaded automatically in the loader's constructor to make them available immediately there's no need to call XulManager.load() all property files in the locale tree should be included

Specified by:
getConfigData in interface XulResourceLoader

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)
Specified by:
getResourceAsStream in interface XulResourceLoader

getResourceAsUrl

public java.net.URL getResourceAsUrl(java.lang.String name)
Specified by:
getResourceAsUrl in interface XulResourceLoader


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