Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for uncapitalize (1.11 sec)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

                return key;
            }
            String keyStr = key.toString();
            if (keyStr.indexOf('_') < 0) {
                keyStr = CaseFormat.LOWER_CAMEL.to(CaseFormat.LOWER_UNDERSCORE, StringUtils.uncapitalize(keyStr));
            } else {
                keyStr = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, keyStr);
            }
            return keyStr;
        }
    
        @Override
        public int size() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

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

         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
         * StringUtil.decapitalize("ABC")     = "ABC"
         * </pre>
         *
         * @param name
         *            the string to decapitalize
         * @return the decapitalized string
         */
        public static String decapitalize(final String name) {
            if (isEmpty(name)) {
                return 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)
  4. 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)
  5. docs/en/docs/tutorial/header-params.md

    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/python-types.md

    But then you have to call "that method that converts the first letter to upper case".
    
    Was it `upper`? Was it `uppercase`? `first_uppercase`? `capitalize`?
    
    Then, you try with the old programmer's friend, editor autocompletion.
    
    You type the first parameter of the function, `first_name`, then a dot (`.`) and then hit `Ctrl+Space` to trigger the completion.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. docs/fa/docs/python-types.md

    یه جایی شروع کردی به تعریف تابع، پارامترهات آماده‌ست...
    
    ولی بعد باید "اون متدی که حرف اول رو بزرگ می‌کنه" رو صدا کنی.
    
    آیا اسمش `upper` بود؟ یا `uppercase`؟ شاید `first_uppercase`؟ یا `capitalize`؟
    
    بعد، با دوست قدیمی برنامه‌نویسا، تکمیل خودکار ویرایشگر، امتحان می‌کنی.
    
    پارامتر اول تابع، `first_name` رو تایپ می‌کنی، بعد یه نقطه (`.`) می‌ذاری و `Ctrl+Space` رو می‌زنی تا تکمیل خودکار بیاد.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top