- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for addEncodingMapping (0.16 sec)
-
fess-crawler-lasta/src/main/resources/crawler/encoding.xml
<components namespace="fessCrawler"> <include path="crawler/container.xml" /> <component name="encodingHelper" class="org.codelibs.fess.crawler.helper.EncodingHelper"> <postConstruct name="addEncodingMapping"> <arg>"unicode"</arg> <arg>"UTF-16LE"</arg> </postConstruct> </component>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Fri Jun 16 13:35:06 UTC 2017 - 454 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java
enc = "S-JIS"; assertEquals("S-JIS", encodingHelper.normalize(enc)); } public void test_normalize_map() { String enc; encodingHelper.addEncodingMapping("S-JIS", "Shift_JIS"); enc = "UTF-8"; assertEquals("UTF-8", encodingHelper.normalize(enc)); enc = "Shift_JIS"; assertEquals("Shift_JIS", encodingHelper.normalize(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/helper/EncodingHelper.java
* * @param source the source encoding name * @param target the target encoding name * @throws IllegalArgumentException if source or target is blank */ public void addEncodingMapping(final String source, final String target) { if (StringUtil.isBlank(source) || StringUtil.isBlank(target)) { throw new IllegalArgumentException("Source and target encodings must not be blank."); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.2K bytes - Viewed (0)