1 16 package api.cintoo.messages.bundle; 17 18 import api.cintoo.messages.context.Context; 19 import api.cintoo.messages.context.ContextCache; 20 21 import java.util.Locale ; 22 import java.util.ResourceBundle ; 23 24 33 public interface BundleManager { 34 39 public void setBundle(String bundleName); 40 41 47 public void setBundle(String bundleName, String packageName); 48 49 55 public void setBundle(String bundleName, Context context); 56 57 63 public ResourceBundle getBundle(Locale locale); 64 65 72 public ResourceBundle getBundle(Object contextObject, Locale locale); 73 74 80 public void setContextCache(ContextCache contextCache); 81 82 85 public void clear(); 86 } 87 | Popular Tags |