Class Bundle

java.lang.Object
com.iohao.net.framework.i18n.Bundle

public final class Bundle extends Object
Locale-aware resource bundle accessor for framework i18n messages.

Loads the iohao.properties (or locale-specific variant) on first access and provides a simple getMessage(String) lookup.

Since:
21.18
Author:
渔民小镇
date:
2024-10-02
  • Method Details

    • getMessage

      public static String getMessage(String key)
      Look up a localized message by key.
      Parameters:
      key - the message key
      Returns:
      the localized message string