Skip navigation links
A B C D F G I L M O P Q R S V 

I

I18n - Class in openthinks.libs.i18n
Help for multi-languages, use this class as entry.
I18nApplicationLocale - Class in openthinks.libs.i18n
A holder for application can dynamic change its locale, and immediately change application locale language.
I18nApplicationLocale() - Constructor for class openthinks.libs.i18n.I18nApplicationLocale
 
IBundleMessageType - Interface in openthinks.libs.i18n.implement.bundle
Used to implemented for customized IMessageType
Need to use a combination of BundleMessageContext
Useage:
public enum DefaultBundleMessageType implements IBundleMessageType {
 LOG, EXCEPTION, UI;

 public String value() {
  return toString() + ":" + BASE_PACK_DIR + toString();
 }

 public String getPackName() {
  String packName = null;
  String val = value();
  if (val != null) {
   int split = val.indexOf(":");
   if (-1 != split) {
    packName = val.substring(split + 1);
   }
  }
  return packName;
 }

 public String getPackType() {
  String packType = null;
  String val = value();
  if (val != null) {
   int split = val.indexOf(":");
   if (-1 != split) {
    packType = val.substring(0, split);
   }
  }
  return packType;
 }

 public static final String BASE_PACK_DIR = "resource/i18n/";
}
id - Variable in class openthinks.libs.i18n.AbstractMessage
 
IMessage - Interface in openthinks.libs.i18n
Represent every message under a locale
IMessageContext - Interface in openthinks.libs.i18n
Context for I18n.
IMessagePack - Interface in openthinks.libs.i18n
Hold multi-languages messages
IMessageType - Interface in openthinks.libs.i18n
identity message type which use in different component
IPersistMessageType - Interface in openthinks.libs.i18n.implement.database
Be similar to IBundleMessageType.
When user retrieve persist message from database by IMessageType, there need class which implement from it.
IQueryer - Interface in openthinks.libs.i18n.implement.database.query
 
A B C D F G I L M O P Q R S V 
Skip navigation links