- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for temporary (0.04 sec)
-
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
/** * ContentOutputStream is a custom output stream that extends DeferredFileOutputStream. * It writes data to a temporary file once the data size exceeds a specified threshold. * * <p>This class ensures that the temporary file is deleted if it is not needed. * It uses a logger to log warnings if there are issues deleting the temporary file.</p> * * <p>Fields:</p> * <ul> * <li>{@code logger} - Logger instance for logging warnings.</li>
Registered: 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/util/TemporaryFileInputStream.java
/** * A custom InputStream that wraps a temporary file. This class ensures that the temporary file * is deleted when the stream is closed. */ public class TemporaryFileInputStream extends InputStream { private final File tempFile; private final FileInputStream fileInputStream; /** * A class that provides an input stream for reading from a temporary file.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext); assertNull(result); } @Test void testGetByNameWithValidEntry() throws IOException { // Create a temporary lmhosts file File lmhostsFile = tempDir.resolve("lmhosts").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 TESTHOST\n");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
* * @author shinsuke */ public class TemporaryFileInputStreamTest extends PlainTestCase { public void test_read_fromTempFile() throws Exception { // Create a temporary file with test data File tempFile = File.createTempFile("test-", ".tmp"); try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write("Test data".getBytes()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
* This class manages the temporary file creation, writing operations, * and atomic updates to ensure data consistency during modifications. */ protected class MappingUpdater implements Closeable { /** Flag indicating whether changes should be committed to the file. */ protected boolean isCommit = false; /** Temporary file used for writing updates before committing. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
* * @param responseBody the file containing the response body * @param isTemporary true if the file is temporary and should be deleted when closing */ public void setResponseBody(final File responseBody, final boolean isTemporary) { responseBodyFile = responseBody; isTemporaryFile = isTemporary; } /** * Gets the character set of the response. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
} } public void test_responseBodyFileTemporary() throws IOException { // Test response body with temporary file that gets deleted on close ResponseData data = new ResponseData(); File tempFile = File.createTempFile("test_temp", ".txt"); String content = "Temporary file content"; Files.write(tempFile.toPath(), content.getBytes(StandardCharsets.UTF_8));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
} /** * Creates a temporary file. * @param prefix The prefix string to be used in generating the file's name. * @param suffix The suffix string to be used in generating the file's name. * @param directory The directory in which the file is to be created, or null if the default temporary-file directory is to be used. * @return The created temporary file. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
* This class handles the process of writing changes to a temporary file * and then replacing the original file upon successful commit. */ protected class StopwordsUpdater implements Closeable { /** A flag indicating whether the changes have been committed. */ protected boolean isCommit = false; /** The temporary file to write changes to. */ protected File newFile;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
import java.nio.file.attribute.FileAttribute; import java.nio.file.attribute.PosixFilePermissions; import java.nio.file.attribute.UserPrincipal; import java.util.EnumSet; import java.util.Set; /** * Creates temporary files and directories whose permissions are restricted to the current user or, * in the case of Android, the current app. If that is not possible (as is the case under the very
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 18:50:14 UTC 2025 - 11.8K bytes - Viewed (0)