Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for normalize (0.28 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

                        .url(normalize(scm.getUrl()))
                        .connection(normalize(scm.getConnection()))
                        .developerConnection(normalize(scm.getDeveloperConnection()))
                        .build());
            }
    
            DistributionManagement dist = model.getDistributionManagement();
            if (dist != null) {
                Site site = dist.getSite();
                if (site != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/UrlNormalizer.java

     */
    package org.apache.maven.api.services.model;
    
    public interface UrlNormalizer {
    
        /**
         * Normalizes the specified URL.
         *
         * @param url The URL to normalize, may be {@code null}.
         * @return The normalized URL or {@code null} if the input was {@code null}.
         */
        String normalize(String url);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. 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 May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. 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 May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    public interface ModelUrlNormalizer {
    
        /**
         * Normalizes the well-known URLs of the specified model.
         *
         * @param model The model whose URLs should be normalized, may be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

        /**
         * 数値の文字列での表記を正規化します。
         *
         * @param s
         *            数値を表す文字列
         * @return 正規化された文字列
         * @see #normalize(String, Locale)
         */
        public static String normalize(final String s) {
            return normalize(s, LocaleUtil.getDefault());
        }
    
        /**
         * 数値の文字列での表記をグルーピングセパレータを削除し、小数点を.であらわした標準形に正規化します。
         *
         * @param s
         *            数値を表す文字列
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            }
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * 変換された{@literal long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@literal long}
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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 May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. 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 May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top