- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getContentLengthLong (1.2 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
if (logger.isDebugEnabled()) { logger.debug("Parsing SmbFile Content: {}", filePath); } if (file.getContentLengthLong() < maxCachedContentSize) { try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) {
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/net/protocol/gcs/HandlerTest.java
} catch (IOException e) { // Expected - either "GCS_PROJECT_ID is blank" or connection failure assertNotNull(e.getMessage()); } } /** * Test that getContentLengthLong() attempts to connect if not connected. */ public void test_getContentLengthLong_autoConnect() throws Exception { URL url = new URL("gcs://mybucket/object.txt");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
} catch (IOException e) { // Expected - either "endpoint is blank" or connection failure assertNotNull(e.getMessage()); } } /** * Test that getContentLengthLong() attempts to connect if not connected. */ public void test_getContentLengthLong_autoConnect() throws Exception { URL url = new URL("storage://mybucket/object.txt");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
/** * Gets the content length of the storage object. * * @return The content length in bytes, or -1 if unavailable */ @Override public long getContentLengthLong() { try { if (!connected) { connect(); } return getStatObject().size();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:52:56 UTC 2025 - 11.1K bytes - Viewed (0)