Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for convertMap (0.15 sec)

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

            if (target == null || replacement == null) {
                throw new CrawlerSystemException("target or replacement are null.");
            }
            convertMap.put(target, replacement);
        }
    
        public void setConvertMap(final Map<String, String> convertMap) {
            this.convertMap = convertMap;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

                String[] alphabets;
                if (i + 1 < text.length() && convertMap.get(text.substring(i, i + 2)) != null) {
                    alphabets = convertMap.get(text.substring(i, i + 2));
                    i += 2;
                } else {
                    if (convertMap.get(text.substring(i, i + 1)) != null) {
                        alphabets = convertMap.get(text.substring(i, i + 1));
                    } else {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @param 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);
        }
    
        /**
         * {@literal locale}が{@literal null}でなければ{@literal locale}を、{@literal null}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. docs/pt/docs/python-types.md

    Como o editor conhece os tipos de variáveis, você não obtém apenas o preenchimento automático, mas também as verificações de erro:
    
    <img src="/img/python-types/image04.png">
    
    Agora você sabe que precisa corrigí-lo, converta `age` em uma string com `str(age)`:
    
    ```Python hl_lines="2"
    {!../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Declarando Tipos
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top