- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for normale (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java
assertEquals("UTF-8", encodingHelper.normalize(enc)); enc = "Shift_JIS"; assertEquals("Shift_JIS", encodingHelper.normalize(enc)); enc = "S-JIS"; assertEquals("Shift_JIS", encodingHelper.normalize(enc)); } public void test_normalize_null() { String enc; enc = null; assertNull(encodingHelper.normalize(enc)); enc = "";
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.8K 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/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java
// 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/client/ftp/FtpClient.java
* 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) { return null; } String url = s.replaceAll("/+", "/").replace("ftp:/", "ftp://");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/helper/impl/MimeTypeHelperImpl.java
* It uses the Apache Tika library to detect the MIME type. * * <p> * This class provides methods to: * </p> * <ul> * <li>Detect the MIME type based on the input stream and filename.</li> * <li>Normalize the filename to handle special characters.</li> * <li>Configure whether to use the filename for MIME type detection.</li> * <li>Configure whether to use the filename for MIME type detection when the stream is octet-stream.</li>
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
import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil; /** * Utility class for text normalization and processing. * * This class provides methods to normalize text by reading characters from a provided Reader * and processing them according to specific rules. The main functionality is encapsulated * within the nested {@link TextNormalizeContext} class. *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/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
assertEquals("2012-05-18T22:45:00Z", extractData.getValues("dcterms:modified")[0]); assertEquals("3", extractData.getValues("meta:character-count")[0]); assertEquals("Normal", extractData.getValues("extended-properties:Template")[0]); assertEquals("たいとる", extractData.getValues("dc:title")[0]); assertEquals("3000000000", extractData.getValues("extended-properties:TotalTime")[0]);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
* * @param encoding the encoding name to normalize * @return the normalized encoding name */ protected String normalizeEncoding(final String encoding) { try { final EncodingHelper encodingHelper = crawlerContainer.getComponent("encodingHelper"); return encodingHelper.normalize(encoding); } catch (final Exception e) { // NOP }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/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
TestTransformer transformer = new TestTransformer(); assertNotNull(transformer); assertNull(transformer.getName()); } /** * Test getName and setName with normal values */ public void test_name_getterSetter() { // Initial state assertNull(testTransformer.getName()); // Set name testTransformer.setName("testTransformer");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml
* Highly specific magic matches get a high priority * General magic matches which could trigger a false-positive need a low one * The priority for containers normally need to be higher than for the things they contain, so they don't accidently get detected as what's in them * For logic too complex to be expressed in a magic match, do the bestRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Mar 13 08:18:01 UTC 2025 - 320.1K bytes - Viewed (2)