Hi,
Wei’s suggestion is accepted.
IFileLocator will be renamed to IResourceLocator and the corresponding method
is renamed from “File” to “Resource”. The updated
Change Request is attached, and change will be performed today.
Thanks!
Qi Liang
-----Original Message-----
From: Wei Yan
Sent: Friday, July
15, 2005 1:48 PM
To: Qi Liang; #Birt Development
Subject: RE: API Change Request
for IFileLocator
That’s fine for file based storage. If you consider about
other storage such as archives (JAR/ZIP), it has some limitations.
Suggestions:
1) change the name from IFileLocator to IResourceLocator
2) change the API findFile to:
URL findResource(ReportDesignHandle designHandle, String
resourceName, int type)
Here it returns a URL instead of a String, the user can use
URL.openStream to get the resource content. It is possible for us to support
any storage.
-----Original Message-----
From: Qi Liang
Sent: Friday, July
15, 2005 1:37 PM
To: #Birt Development
Subject: API Change Request for
IFileLocator
The attached is the API change
request for IFileLocator. If no response by the end of Jul. 19 (Shanghai Time),
I will perform the check-in.