Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for convertMap (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

            }
            convertMap.put(target, replacement);
        }
    
        /**
         * Sets the conversion map.
         * @param convertMap The conversion map to set.
         */
        public void setConvertMap(final Map<String, String> convertMap) {
            if (convertMap == null) {
                throw new CrawlerSystemException("convertMap is null.");
            }
            this.convertMap = convertMap;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @param locale the locale
         * @return {@link Map}
         */
        public static final Map<String, String> convertMap(final String name, final Locale locale) {
            assertArgumentNotEmpty("name", name);
    
            final ResourceBundle bundle = getBundle(name, locale);
            return convertMap(bundle);
        }
    
        /**
         * Returns the {@literal locale} if not {@literal null}, otherwise returns the default locale.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

         */
        @Test
        public void testConvertMap() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null);
            final Map<String, String> map = ResourceBundleUtil.convertMap(bundle);
            final String value = map.get("ECL0001");
            System.out.println(value);
            assertThat(value, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top