Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for normalize (0.19 sec)

  1. src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java

         * @throws Exception
         */
        public void testNormalize() throws Exception {
            assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN));
            assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));
            assertEquals("3", "1000.00", DecimalFormatUtil.normalize("1.000,00", Locale.GERMAN));
        }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/resources/suggest_indices/suggest_analyzer.json

            "tokenizer" : "fess_japanese_normal",
            "filter" : ["reading_form"]
          },
          "reading_term_analyzer" : {
            "type" : "custom",
            "tokenizer" : "fess_japanese_normal"
          },
          "normalize_analyzer" : {
            "type" : "custom",
            "tokenizer" : "keyword",
            "char_filter" : ["mapping_char"],
            "filter" : ["lowercase"]
          },
          "contents_analyzer" : {
            "type" : "custom",
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu May 23 05:09:51 GMT 2019
    - 57.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return new Double(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal double}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal double}
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return new Float(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal float}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal float}
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            }
        }
    
        private static Short toShort(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Short.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal short}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal short}
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            String configPath = form.crawlingConfigPath.trim();
            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                dr.pathConsumed = consumed;
    
                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if ( reqPath.charAt(consumed - 1) == '\\' ) {
                    if ( log.isDebugEnabled() ) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (StringUtil.isBlank(fileName)) {
                throwValidationError(messages -> messages.addErrorsDesignFileNameIsNotFound("designFile"), this::asListHtml);
            }
    
            File uploadFile;
            // normalize filename
            if (checkFileType(fileName, fessConfig.getSupportedUploadedMediaExtentionsAsArray())
                    && checkFileType(uploadedFileName, fessConfig.getSupportedUploadedMediaExtentionsAsArray())) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
                return normalize(new BigDecimal(o.toString()));
            }
        }
    
        /**
         * {@link BigDecimal}を文字列に変換します。
         *
         * @param dec
         *            変換元の{@link BigDecimal}
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/resources/suggest_indices/_aws/suggest_analyzer.json

            "tokenizer" : "fess_japanese_normal",
            "filter" : ["reading_form"]
          },
          "reading_term_analyzer" : {
            "type" : "custom",
            "tokenizer" : "fess_japanese_normal"
          },
          "normalize_analyzer" : {
            "type" : "custom",
            "tokenizer" : "keyword",
            "char_filter" : ["mapping_char"],
            "filter" : ["lowercase"]
          },
          "contents_analyzer" : {
            "type" : "custom",
    Json
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Wed Mar 24 12:55:37 GMT 2021
    - 57.4K bytes
    - Viewed (0)
Back to top