Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for normalize (0.14 sec)

  1. 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}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                return null;
            }
    
            String s = stripBasedirToken(path);
    
            File file = new File(s);
            if (file.isAbsolute()) {
                // path was already absolute, just normalize file separator and we're done
                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. 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}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

            if (Files.isDirectory(pomPath)) {
                pomPath = context.locate(pomPath);
            }
    
            if (pomPath == null || !Files.isRegularFile(pomPath)) {
                return Optional.empty();
            }
    
            Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java

            runner.close();
            runner.clean();
        }
    
        @Test
        public void test_normalize() throws Exception {
            Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
            assertEquals("12345,.*[]「」abcケンサクabcdけんさくガギグゲゴ", normalizer.normalize("12345,.*[]「」ABCケンサクabcdけんさくガギグゲゴ", null));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            }
    
            public String toChildUrl(final String child) {
                final String url = toUrl();
                if (url.endsWith("/")) {
                    return normalize(toUrl() + child);
                }
                return normalize(toUrl() + "/" + child);
            }
    
            public String getParent() {
                return parent;
            }
    
            public String getName() {
                return name;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. 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}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

    /**
     * @author shinsuke
     *
     */
    public class EncodingHelper {
    
        protected String defaultEncoding = null;
    
        protected Map<String, String> encodingMap = new HashMap<>();
    
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Normalizes a URL.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultUrlNormalizer implements UrlNormalizer {
    
        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
                return file.getAbsoluteFile();
            } else {
                return Paths.get(baseDirectory, file.getPath()).normalize().toFile();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top