- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 237 for getBytes (0.08 sec)
-
src/main/java/org/codelibs/fess/helper/PluginHelper.java
try { final String pluginMetaContent = getRepositoryContent(pluginUrl + "maven-metadata.xml"); try (final InputStream is = new ByteArrayInputStream(pluginMetaContent.getBytes(Constants.UTF_8_CHARSET))) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 01:47:10 UTC 2024 - 17.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
resultData.setData(data.getBytes(charsetName)); } catch (final UnsupportedEncodingException e) { if (logger.isInfoEnabled()) { logger.info("Invalid charsetName: " + charsetName + ". Changed to " + Constants.UTF_8, e); } charsetName = Constants.UTF_8_CHARSET.name(); resultData.setData(data.getBytes(Constants.UTF_8_CHARSET)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
// no password in tree connect dst[ dstIndex++ ] = (byte) 0x00; } dstIndex += writeString(this.path, dst, dstIndex); try { System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length()); } catch ( UnsupportedEncodingException uee ) { return 0; } dstIndex += this.service.length();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
// no password in tree connect dst[dstIndex++] = (byte)0x00; } dstIndex += writeString( path, dst, dstIndex ); try { System.arraycopy( service.getBytes( "ASCII" ), 0, dst, dstIndex, service.length() ); } catch( UnsupportedEncodingException uee ) { return 0; } dstIndex += service.length(); dst[dstIndex++] = (byte)'\0';
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
responseData.setMethod("GET"); responseData.setMimeType("text/html"); responseData.setParentUrl("http://fess.codelibs.org/"); responseData.setResponseBody(data.getBytes()); responseData.setSessionId("test-1"); responseData.setStatus(0); responseData.setUrl("http://fess.codelibs.org/test.html");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsByteSource) { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } else { suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey())); } } return suite; } static TestSuite suiteForBytes(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) { responseData.setResponseBody(InputStreamUtil.getBytes(contentStream)); } catch (final Exception e) { logger.warn("I/O Exception.", e);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 23 01:54:36 UTC 2024 - 17.9K bytes - Viewed (0)