Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getCharset (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                        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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                return filePath;
            }
            return buf.toString();
        }
    
        protected String geCharSet(final File file) {
            return charset;
        }
    
        public String getCharset() {
            return charset;
        }
    
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (size < 3 || !isUtf8BomBytes(bomBytes)) {
                    bis.reset();
                }
                final InputSource is = new InputSource(bis);
                if (responseData.getCharSet() != null) {
                    is.setEncoding(responseData.getCharSet());
                }
                parser.parse(is);
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                responseData.setContentLength(statObject.size());
                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(getCharset());
                responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
                responseData.setMimeType(statObject.contentType());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            if (urlQueue != null && urlQueue.getEncoding() != null) {
                urlEncoding = urlQueue.getEncoding();
            } else {
                urlEncoding = responseData.getCharSet();
            }
    
            // cid
            final String configId = crawlingConfig.getConfigId();
            if (configId != null) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldConfigId(), configId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            this.resolveSids = resolveSids;
        }
    
        /**
         * @return the charset
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * @param charset
         *            the charset to set
         */
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                final ResponseData responseData = ftpClient.doGet("ftp://localhost:" + FTP_PORT + "/text1.txt");
                assertEquals(200, responseData.getHttpStatusCode());
                assertEquals("UTF-8", responseData.getCharSet());
                assertTrue(6 == responseData.getContentLength());
                assertNotNull(responseData.getLastModified());
                assertEquals(Constants.GET_METHOD, responseData.getMethod());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            this.resolveSids = resolveSids;
        }
    
        /**
         * @return the charset
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * @param charset
         *            the charset to set
         */
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            throw new CrawlingAccessException("Failed FTP request: " + client.getReplyString().trim());
        }
    
        protected String geCharSet(final File file) {
            return charset;
        }
    
        public String getCharset() {
            return charset;
        }
    
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            response.header("Expires", "Thu, 01 Dec 1994 16:00:00 GMT");
        }
    
        protected void writeFileName(final StreamResponse response, final ResponseData responseData) {
            String charset = responseData.getCharSet();
            if (charset == null) {
                charset = Constants.UTF_8;
            }
            final String name;
            final String url = responseData.getUrl();
            final int pos = url.lastIndexOf('/');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top