Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 166 for Normalizer (0.11 sec)

  1. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

        public static String toString(final BigDecimal dec) {
            return dec.toPlainString();
        }
    
        /**
         * Normalizes a {@link BigDecimal}.
         *
         * @param dec
         *            The {@link BigDecimal} to normalize
         * @return The normalized data
         */
        private static BigDecimal normalize(final BigDecimal dec) {
            return new BigDecimal(dec.toPlainString());
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java

    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelUrlNormalizer {
    
        /**
         * Normalizes the well-known URLs of the specified model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

         */
        public EncodingHelper() {
            // Default constructor
        }
    
        /**
         * Normalizes an encoding string to its preferred form.
         *
         * @param enc the encoding string to normalize
         * @return the normalized encoding or the default encoding if the input is blank
         */
        public String normalize(final String enc) {
            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                throw new MimeTypeException("Could not detect a content type.", e);
            }
        }
    
        /**
         * Normalizes the filename by replacing special characters.
         * @param filename The filename to normalize.
         * @return The normalized filename.
         */
        protected String normalizeFilename(final String filename) {
            if (StringUtil.isBlank(filename)) {
                return filename;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                this.spaceChars = spaceChars;
                return this;
            }
        }
    
        /**
         * Normalizes the text from the given Reader.
         *
         * @param reader the Reader from which to read the text to be normalized
         * @return a TextNormalizeContext containing the normalized text
         */
        public static TextNormalizeContext normalizeText(final Reader reader) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

        }
    
        @Override
        public void normalize(Model model, ModelBuildingRequest request) {
            if (model == null) {
                return;
            }
    
            model.setUrl(normalize(model.getUrl()));
    
            Scm scm = model.getScm();
            if (scm != null) {
                scm.setUrl(normalize(scm.getUrl()));
                scm.setConnection(normalize(scm.getConnection()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (1)
  7. src/main/java/jcifs/util/PathValidator.java

                normalized = normalized.substring(0, normalized.length() - 1);
            }
    
            // Handle current directory references
            normalized = normalized.replace("\\.", "");
            normalized = normalized.replace(".\\", "");
    
            return normalized;
        }
    
        /**
         * Validate UNC path
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return buf.toString();
            } catch (final UnsupportedEncodingException e) {
                return path;
            }
        }
    
        /**
         * Normalizes a configuration path.
         *
         * @param path The path to normalize.
         * @return The normalized path.
         */
        public String normalizeConfigPath(final String path) {
    
            if (StringUtil.isBlank(path)) {
                return StringUtils.EMPTY;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return ipv6Address;
            }
    
            // Normalize each part (remove leading zeros)
            final String[] normalized = new String[8];
            for (int i = 0; i < 8; i++) {
                normalized[i] = parts[i].replaceFirst("^0+(?!$)", "");
                if (normalized[i].isEmpty()) {
                    normalized[i] = "0";
                }
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. 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 {@code 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top