Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for capitalize (0.04 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testCapitalize() throws Exception {
            assertEquals("Abc", StringUtil.capitalize("abc"));
            assertEquals("Abc", StringUtil.capitalize("Abc"));
            assertEquals("ABC", StringUtil.capitalize("ABC"));
            assertEquals("UserId", StringUtil.capitalize("userId"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            return new String(chars);
        }
    
        /**
         * Capitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be capitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.capitalize("userId")  = "UserId"
         * StringUtil.capitalize("ABC")     = "ABC"
         * </pre>
         *
         * @param name
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    if (m.getParameterTypes().length != 0 || methodName.equals("getClass") || m.getReturnType() == void.class) {
                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(3));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("is")) {
                    if (m.getParameterTypes().length != 0
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (fessConfig.hasNotification()) {
                final Map<String, String> dataMap = new HashMap<>();
                for (final Map.Entry<String, String> entry : infoMap.entrySet()) {
                    dataMap.put(StringUtil.decapitalize(entry.getKey()), entry.getValue());
                }
    
                String hostname = fessConfig.getMailHostname();
                if (StringUtil.isBlank(hostname)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top