- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for getByte (0.98 sec)
-
src/main/java/org/codelibs/fess/helper/PluginHelper.java
} /** * Gets the type of the artifact based on its name. * * @return the artifact type */ public ArtifactType getType() { return ArtifactType.getType(name); } /** * Returns a string representation of the artifact. * * @return a string in the format "name:version" */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes(); assertEquals("YWJjZA==", Base64Util.encode(data2)); // Test case 3: Double padding final byte[] data3 = "abcde".getBytes(); assertEquals("YWJjZGU=", Base64Util.encode(data3));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
*/ public void test_getText_withDefaultEncoding() { final String testContent = "Test content テスト 日本語"; final InputStream in = new ByteArrayInputStream(testContent.getBytes()); final ExtractData result = textExtractor.getText(in, null); assertNotNull(result); assertNotNull(result.getContent()); assertTrue(result.getContent().contains("Test content"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
*/ public void test_validateInputStream_consistentAcrossMultipleCalls() { final InputStream in1 = new ByteArrayInputStream("data1".getBytes()); final InputStream in2 = new ByteArrayInputStream("data2".getBytes()); // First call extractor.testValidateInputStream(in1); // Second call with different stream extractor.testValidateInputStream(in2);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
final byte[] bytes = "".getBytes(); final InputStream in = new ByteArrayInputStream(bytes); try { sitemapsHelper.parse(in); fail(); } catch (final CrawlingAccessException e) { // NOP } } public void test_parseXmlSitemaps_invalid2() { final byte[] bytes = "test".getBytes();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
*/ public class IgnoreCloseInputStreamTest extends PlainTestCase { public void test_close_isIgnored() throws IOException { // Test that close() is ignored byte[] data = "Test data".getBytes(); ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); // Read some dataRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K 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("Failed to read SMB file content: path={}, size={}", filePath, file.getContentLengthLong(), e);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 23.4K bytes - Viewed (3) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
.stream(new ByteArrayInputStream("file1".getBytes()), 5, -1) .contentType("application/octet-stream") .build()); minioClient.putObject(PutObjectArgs.builder() .bucket(bucketName) .object("dir1/file2.txt") .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1) .contentType("application/octet-stream")
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
.stream(new ByteArrayInputStream("file1".getBytes()), 5, -1) .contentType("application/octet-stream") .build()); minioClient.putObject(PutObjectArgs.builder() .bucket(bucketName) .object("dir1/file2.txt") .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1) .contentType("application/octet-stream")
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
// Create a temporary file with test data File tempFile = File.createTempFile("test-", ".tmp"); try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write("Test data".getBytes()); } // Read from TemporaryFileInputStream try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) { assertEquals('T', stream.read());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0)