TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.birt.core.internal.impl
Class BIRTResourceLocator

java.lang.Object
  extended by org.eclipse.tptp.platform.report.birt.core.internal.impl.BIRTResourceLocator
All Implemented Interfaces:
org.eclipse.birt.report.model.api.IResourceLocator

public class BIRTResourceLocator
extends java.lang.Object
implements org.eclipse.birt.report.model.api.IResourceLocator

Resource locator that will search the class path for .properties files


Field Summary
protected  java.lang.Class bundle
           
protected  org.eclipse.birt.report.model.api.IResourceLocator defaultLocator
           
 
Fields inherited from interface org.eclipse.birt.report.model.api.IResourceLocator
CASCADING_STYLE_SHEET, FRAGMENT_RESOURCE_HOST, IMAGE, JAR_FILE, LIBRARY, MESSAGE_FILE, OTHERS
 
Constructor Summary
BIRTResourceLocator(java.lang.Class bundle)
           
 
Method Summary
 java.net.URL findResource(org.eclipse.birt.report.model.api.ModuleHandle module, java.lang.String filename, int type)
           
 java.lang.Class getBundle()
           
 void setBundle(java.lang.Class bundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

protected java.lang.Class bundle

defaultLocator

protected org.eclipse.birt.report.model.api.IResourceLocator defaultLocator
Constructor Detail

BIRTResourceLocator

public BIRTResourceLocator(java.lang.Class bundle)
Method Detail

getBundle

public java.lang.Class getBundle()

setBundle

public void setBundle(java.lang.Class bundle)

findResource

public java.net.URL findResource(org.eclipse.birt.report.model.api.ModuleHandle module,
                                 java.lang.String filename,
                                 int type)
Specified by:
findResource in interface org.eclipse.birt.report.model.api.IResourceLocator
Parameters:
module -
filename -
type -
Returns:

TPTP 4.5.0 Platform Project
Internal API Specification