- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TrimPrefix (0.3 sec)
-
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
return trimPrefix(srcPropertyName.replace(beanDelimiter, mapDelimiter)); } /** * コピー元のプロパティ名をコピー先となるBean用のプロパティ名に変換して返します。 * * @param srcPropertyName * コピー元のプロパティ名 * @return コピー先のプロパティ名 */ protected String toBeanDestPropertyName(final String srcPropertyName) { return trimPrefix(srcPropertyName.replace(mapDelimiter, beanDelimiter));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
if (!srcPropertyDesc.isReadable() || !options.isTargetProperty(srcPropertyName)) { continue; } final String destPropertyName = options.trimPrefix(srcPropertyName); if (!destBeanDesc.hasPropertyDesc(destPropertyName)) { continue; } final PropertyDesc destPropertyDesc = destBeanDesc.getPropertyDesc(destPropertyName);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
*/ @Test public void testTrimPrefix() throws Exception { final CopyOptions option = new CopyOptions(); assertThat(option.trimPrefix("aaa"), is("aaa")); option.prefix(BeanNames.search_()); assertThat(option.trimPrefix("search_aaa"), is("aaa")); } /** * @throws Exception */ @Test public void testConvertValue_zeroConverter() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} /** * @throws Exception */ @Test public void testTrimPrefix() throws Exception { assertEquals("AAA", StringUtil.trimPrefix("T_AAA", "T_")); } /** * @throws Exception */ @Test public void testIsBlank() throws Exception { assertEquals("1", true, StringUtil.isBlank(" "));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
/** * プレフィックスを削ります。 * * @param text * テキスト * @param prefix * プレフィックス * @return 結果の文字列 */ public static final String trimPrefix(final String text, final String prefix) { if (text == null) { return null; } if (prefix == null) { return text; } if (text.startsWith(prefix)) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0)