Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setTransformerName (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            accessResultDataImpl.setData(value.getBytes(Constants.UTF_8));
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xpathTransformer");
    
            final Object obj = xpathTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            accessResultDataImpl.setData(value.getBytes(Constants.UTF_8));
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xmlTransformer");
    
            final Object obj = xmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            accessResultDataImpl.setData(value.getBytes());
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("htmlTransformer");
    
            final Object obj = htmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
        public void test_getData_wrongName() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                }
                buf.append(getAdditionalData(responseData, doc));
                buf.append(getResultDataFooter());
    
                final ResultData resultData = new ResultData();
                resultData.setTransformerName(getName());
    
                final String data = buf.toString().trim();
                try {
                    resultData.setData(data.getBytes(charsetName));
                } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            // encoding
            updateCharset(responseData);
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try {
                // data
                storeData(responseData, resultData);
    
                if (isHtml(responseData) && !responseData.isNoFollow()) {
                    // urls
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
            try {
                resultData.setData(SerializeUtil.fromObjectToBinary(generateData(responseData)));
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top