org.eclipse.tptp.platform.report.birt.core.internal.impl
Class BIRTResourceLocator
java.lang.Object
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 |
|
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 |
bundle
protected java.lang.Class bundle
defaultLocator
protected org.eclipse.birt.report.model.api.IResourceLocator defaultLocator
BIRTResourceLocator
public BIRTResourceLocator(java.lang.Class bundle)
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: