- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for setCharSet (0.33 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { // check file size responseData.setContentLength(file.length());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 11.8K bytes - Viewed (0) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} try { if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) { logger.debug("Checking SmbFile Size: {}", filePath);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
final byte[] data = new String("xyz").getBytes(); final ResponseData responseData = new ResponseData(); responseData.setUrl("file:/test.txt"); responseData.setCharSet(Constants.UTF_8); responseData.setResponseBody(data); responseData.setMimeType("text/plain"); final ResultData resultData = textTransformer.transform(responseData);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
final ResponseData responseData = new ResponseData(); responseData.setUrl("http://hoge/"); responseData.setResponseBody(data); responseData.setCharSet("ISO-8859-1"); final ResultData resultData = htmlTransformer.transform(responseData); assertEquals("xyz", new String(resultData.getData())); } public void test_transform_filelink() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} try { if (file == null) { responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) { logger.debug("Checking SmbFile Size: {}", filePath);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
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) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
final HttpPost httpPost = new HttpPost(url); final HttpEntity postEntity = MultipartEntityBuilder.create().setMode(HttpMultipartMode.BROWSER_COMPATIBLE) .setCharset(Charset.forName("UTF-8")).addBinaryBody("filedata", in).build(); httpPost.setEntity(postEntity); try (CloseableHttpResponse response = httpClient.execute(httpPost)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 10K bytes - Viewed (0)