Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for getCharset (0.07 sec)

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

            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://www.example.com/submit?a=1&b=2");
            responseData.setResponseBody(data);
            responseData.setCharSet("UTF-8");
            setBaseDir();
            final ResultData resultData = fileTransformer.transform(responseData);
            assertEquals("http_CLN_/www.example.com/submit_QUEST_a=1_AMP_b=2", new String(resultData.getData(), "UTF-8"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("html/test1.html"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = new ResultData();
            xpathTransformer.storeData(responseData, resultData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                }
    
                responseData.setUrl(url);
                responseData.setCharSet(contentEncoding);
                if (httpRequest instanceof HttpHead) {
                    responseData.setMethod(Constants.HEAD_METHOD);
                } else {
                    responseData.setMethod(Constants.GET_METHOD);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                if (i % 1000 == 0) {
                    logger.info("count:" + i + ", " + MemoryUtil.getMemoryUsageLog());
                }
                ResponseData responseData = new ResponseData();
                responseData.setCharSet("UTF-8");
                responseData.setContentLength(data.length());
                responseData.setExecutionTime(1000L);
                responseData.setHttpStatusCode(200);
                responseData.setLastModified(new Date());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top