- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for GetString (0.18 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/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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
} } } catch (IOException e) { throw new UncheckedIOException(e); } } @Override public Optional<String> getString(URI relativeSource, Charset charset) { requireNonNull(charset, "charset is null"); Optional<byte[]> data = getBytes(relativeSource); return data.map(bytes -> new String(bytes, charset)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/certificates.go
for i, ca := range secret.CertChain { t := "Intermediate" if i == 0 { t = "Leaf" } else if i == len(secret.CertChain)-1 { t = "Root" } n := new(big.Int) n, _ = n.SetString(ca.SerialNumber, 10) fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%x\t%v\t%v\n", secret.Identity, t, secret.State, certNotExpired(ca), n, valueOrNA(ca.ExpirationTime), valueOrNA(ca.ValidFrom)) } } } return w.Flush()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 16:38:16 GMT 2024 - 3.2K bytes - Viewed (0)