- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for getCharset (0.12 sec)
-
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) -
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) -
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) -
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) -
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) -
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/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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
StandardJavadocDocletOptions options = (StandardJavadocDocletOptions) task.getOptions(); options.setEncoding("utf-8"); options.setDocEncoding("utf-8"); options.setCharSet("utf-8"); options.addBooleanOption("-allow-script-in-comments", true);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 7.3K bytes - Viewed (0)