Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDecodeText (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

            }
        }
    
        public void test_getDecodeText() throws Exception {
            assertEquals("", emlExtractor.getDecodeText(null));
            assertEquals("", emlExtractor.getDecodeText(""));
            assertEquals("abc123", emlExtractor.getDecodeText("abc123"));
            assertEquals("ใƒ†ใ‚นใƒˆ", emlExtractor.getDecodeText("=?UTF-8?B?44OG44K544OI?="));
        }
    
        public void test_getTextWithAttachment() throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            try {
                if (value instanceof String) {
                    if ("Subject".equals(key)) {
                        data.putValue(key, getDecodeText(value.toString()));
                    } else {
                        data.putValue(key, value.toString());
                    }
                } else if (value instanceof String[]) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top