luxor.core.loader
Class XulFileResourceLoader

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

public class XulFileResourceLoader
extends java.lang.Object
implements XulResourceLoader


Constructor Summary
XulFileResourceLoader(java.io.File root)
           
 
Method Summary
 java.util.List getBootstrapEntries()
          as a convention for now return all files in startup directory which is a subdirectory of root
 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

XulFileResourceLoader

public XulFileResourceLoader(java.io.File root)
Method Detail

getBootstrapEntries

public java.util.List getBootstrapEntries()
as a convention for now return all files in startup directory which is a subdirectory of root

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