- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for setCharSet (0.1 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/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/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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
+ "</doc>"; final ResponseData responseData = new ResponseData(); responseData.setResponseBody(ResourceUtil.getResourceAsFile("extractor/test.xml"), false); responseData.setCharSet(Constants.UTF_8); final ResultData resultData = xmlTransformer.transform(responseData); 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 - 13.5K bytes - Viewed (0) -
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)