- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetString (0.14 sec)
-
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* @return 指定されたキーの文字列。{@literal null}や空文字列であってはいけません * @see ResourceBundle#getString(String) */ public static String getString(final ResourceBundle bundle, final String key) { assertArgumentNotNull("bundle", bundle); assertArgumentNotEmpty("key", key); try { return bundle.getString(key); } catch (final Throwable t) { 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/lang/FieldUtilTest.java
FieldUtil.set(field, this, testData); assertThat(FieldUtil.getString(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetStringFieldObject() throws Exception { final Field field = getClass().getField("STRING_DATA"); assertThat(FieldUtil.getString(field), is(STRING_DATA)); } /** * @throws Exception */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @throws IllegalAccessRuntimeException * {@link IllegalAccessException}が発生した場合 * @see #getString(Field, Object) */ public static String getString(final Field field) throws IllegalAccessRuntimeException { assertArgumentNotNull("field", field); return getString(field, null); } /** * {@link Field}の値を {@link String}として取得します。 * * @param field
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
final String pattern = ResourceBundleUtil.getString(resourceBundle, key); if (pattern != null) { return pattern; } } return resourceBundle.getString(messageCode); } /** * システム名を返します。 * * @param messageCode * メッセージコード
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) -
src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java
/** * @throws Exception */ @Test public void testGetString() throws Exception { final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages"); assertThat(bundle.getString("ECL0001"), is(notNullValue())); }
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)