- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getBundle (0.17 sec)
-
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* リソースバンドの名前。{@literal null}や空文字列であってはいけません * @return {@link ResourceBundle} * @see ResourceBundle#getBundle(String) */ public static final ResourceBundle getBundle(final String name) { assertArgumentNotEmpty("name", name); try { return ResourceBundle.getBundle(name); } catch (final MissingResourceException ignore) { return null; } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader()); assertThat(bundle, is(notNullValue())); } /** * @throws Exception */ @Test public void testGetString() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
* @return リソースバンドル */ protected static ResourceBundle getResourceBundle(final String systemName) { if (!initialized) { initialize(); } return ResourceBundleUtil.getBundle(systemName + MESSAGES, LocaleUtil.getDefault()); } /** * パターンを使用しないで引数を並べたメッセージを返します。 * * @param args * 引数 * @return 引数を並べたメッセージ */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.6K bytes - Viewed (0)