- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for normalizes (0.1 sec)
-
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) -
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} return normalizeEncoding(encoding); } /** * Normalizes the encoding name using the encoding helper. * * @param encoding the encoding name to normalize * @return the normalized encoding name */ protected String normalizeEncoding(final String encoding) { try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} } /** * Normalizes the URL string by cleaning up multiple slashes and resolving relative paths. * This method ensures the URL is in a consistent format for FTP operations. * * @param s The URL string to normalize * @return The normalized URL string */ protected String normalize(final String s) { if (s == null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
/** * PDF config file path. */ public static final String TIKA_PDF_CONFIG = "tika.pdf.config"; /** * A parameter key to normalize a text. */ public static final String NORMALIZE_TEXT = "normalize_text"; private static final String FILE_PASSWORD = "fess.file.password"; /** * Output encoding. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java
ContentTransformer transformer = new ContentTransformer("workflowTransformer"); transformer.addTransformationRule("<[^>]+>", ""); // Remove HTML tags transformer.addTransformationRule("\\s+", " "); // Normalize whitespace // Simulate crawling response ResponseData responseData = new ResponseData(); responseData.setUrl("http://example.com/page.html");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 28K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
try { URI uri = new URI(url); if (StringUtil.isNotEmpty(location)) { uri = uri.resolve(location.replace(" ", "%20")); } return uri.normalize().toASCIIString(); } catch (URISyntaxException e) { throw new CrawlingAccessException(e); } } /** * Sets the connection timeout in milliseconds. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K bytes - Viewed (0)