Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setCharSet (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final FTPClient client, final FtpInfo ftpInfo, final FTPFile file) {
            if (file == null) {
                responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                responseData.setCharSet(charset);
                responseData.setContentLength(0);
                ftpClientQueue.offer(client);
                return;
            }
    
            if (file.isSymbolicLink()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                    if (defaultEncoding == null) {
                        responseData.setCharSet(Constants.UTF_8);
                    } else if (responseData.getCharSet() == null) {
                        responseData.setCharSet(defaultEncoding);
                    }
                } else {
                    responseData.setCharSet(encoding.trim());
                }
    
                if (!isSupportedCharset(responseData.getCharSet())) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

            responseBodyFile = responseBody;
            isTemporaryFile = isTemporary;
        }
    
        public String getCharSet() {
            return charSet;
        }
    
        public void setCharSet(final String charSet) {
            this.charSet = charSet;
        }
    
        public long getContentLength() {
            return contentLength;
        }
    
        public void setContentLength(final long contentLength) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K 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