Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for normalizer (0.04 sec)

  1. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

        }
    
        /**
         * Normalizes the string representation of a number.
         *
         * @param s
         *            A string representing a number
         * @return The normalized string
         * @see #normalize(String, Locale)
         */
        public static String normalize(final String s) {
            return normalize(s, LocaleUtil.getDefault());
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K 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: Sun Sep 21 03:50:09 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/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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  9. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates and normalizes SMB path
         *
         * @param path the path to normalize
         * @return normalized path
         */
        public static String normalizeSmbPath(String path) {
            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top