Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for normalizer (0.31 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/transformer/impl/HtmlTransformer.java

                    }
                }
            }
            return buf.toString();
        }
    
        /**
         * Normalizes a URL by removing fragments, resolving relative paths, and cleaning up.
         *
         * @param u the URL to normalize
         * @return the normalized URL
         */
        protected String normalizeUrl(final String u) {
            if (u == null) {
                return null;
            }
    
            // trim
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/iam.go

    func (sys *IAMSys) createCleanEntitiesQuery(q madmin.PolicyEntitiesQuery, ldap bool) cleanEntitiesQuery {
    	cleanQ := cleanEntitiesQuery{
    		Users:    make(map[string]set.StringSet),
    		Groups:   set.CreateStringSet(q.Groups...),
    		Policies: set.CreateStringSet(q.Policy...),
    	}
    
    	if ldap {
    		// Validate and normalize users, then fetch and normalize their groups
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  10. 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)
Back to top