- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for getPipe (0.17 sec)
-
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
} @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile(); File file2 = cos.getFile(); assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
*/ public ContentOutputStream(final int threshold, final File tmpDir) { super(threshold, PREFIX, SUFFIX, tmpDir); } @Override public File getFile() { done = true; return super.getFile(); } /** * Closes the stream and deletes the temporary file if it was not retrieved. * If an error occurs during file deletion, it is logged but not thrown to avoidRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata); return mediaTypeFromFilename.getType() + "/" + mediaTypeFromFilename.getSubtype(); } return mediaType.getType() + "/" + mediaType.getSubtype(); } catch (final IOException e) { throw new MimeTypeException("Could not detect a content type.", e); } }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
} /** * Gets the account ID from a SID. * @param sid The SID. * @return The account ID. */ public String getAccountId(final SID sid) { final int type = sid.getType(); if (logger.isDebugEnabled()) { try { logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString()); } catch (final Exception e) { // ignoreRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
bucketName, path, blob.getSize(), maxCachedContentSize, outputFile.getAbsolutePath()); } } catch (final Exception e) { logger.warn("Failed to write GCS object to temp file: bucket={}, path={}, size={}, tempFile={}", bucketName, path, blob.getSize(), outputFile != null ? outputFile.getAbsolutePath() : "null", e);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) { getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> { if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) { throw new DictionaryException(dictFile.getPath() + " was updated."); } // TODO use stream
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8K bytes - Viewed (0) -
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/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
} if (responseData.getLastModified() == null) { return true; } if (responseData.getLastModified().getTime() <= lastModified.getTime() && httpStatusCode == HTTP_STATUS_OK) { log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 19.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
ZipArchiveEntry entry = null; long contentSize = 0; while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
TarArchiveEntry entry = null; long contentSize = 0; while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 5.1K bytes - Viewed (0)