luxor.core.loader
Class XulJarResourceLoader
java.lang.Object
|
+--luxor.core.loader.XulJarResourceLoader
- All Implemented Interfaces:
- XulResourceLoader
- public class XulJarResourceLoader
- extends java.lang.Object
- implements XulResourceLoader
note: this class works also on jars inside jars, that is, the jar entry
inside the jar must be another jar you can either use the file or the http
protocol example: jar:file:///c:/sandbox/venus/venus.jar!/chrome.jar
jar:http://www.vamphq.com/venus.jar!/chrome.jar
http://www.vamphq.com/chrome.jar
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 |
XulJarResourceLoader
public XulJarResourceLoader(java.net.URL url)
throws java.io.IOException
XulJarResourceLoader
public XulJarResourceLoader(java.lang.Class anchor)
throws java.io.IOException
XulJarResourceLoader
public XulJarResourceLoader(java.io.File file)
throws java.io.IOException
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