AWC-1718 - fix I18N issue with dynamic message (property resource) bundles

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-12-06 14:09:23 +00:00
parent a58e074a8e
commit dbcce08dfc
2 changed files with 95 additions and 24 deletions

View File

@@ -1,7 +1,8 @@
package org.alfresco.repo.i18n;
import java.io.InputStream;
import java.io.IOException;
import java.util.Locale;
import java.util.ResourceBundle;
import java.util.Set;
import org.alfresco.repo.tenant.TenantDeployer;
@@ -137,7 +138,7 @@ public interface MessageService extends TenantDeployer
* @param locale locale
* @return input stream
*/
public InputStream getRepoResourceBundle(StoreRef storeRef, String path, Locale locale);
public ResourceBundle getRepoResourceBundle(StoreRef storeRef, String path, Locale locale) throws IOException;
/**
* Get set of registered message resource bundles