- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for TempFile (0.04 sec)
-
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
Path tempFile = Files.createTempFile("test-thread-dump", ".txt"); try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Verify the file was created and contains content assertTrue("Thread dump file should exist", Files.exists(tempFile)); assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
final StringBuilder buf = new StringBuilder(1000); File tempFile = null; LhaFile lhaFile = null; try { tempFile = createTempFile("crawler-", ".lzh", null); try (FileOutputStream fos = new FileOutputStream(tempFile)) { CopyUtil.copy(in, fos); } lhaFile = new LhaFile(tempFile); @SuppressWarnings("unchecked")
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
*/ public TemporaryFileInputStream(final File tempFile) throws FileNotFoundException { this.tempFile = tempFile; fileInputStream = new FileInputStream(tempFile); } /** * Returns the temporary file associated with this input stream. * * @return the temporary file */ public File getTemporaryFile() { return tempFile; } /* * (non-Javadoc) *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} @Override public File createTempFile(String prefix, String suffix) { try { File tempFile = File.createTempFile(prefix, suffix); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { throw new RuntimeException(e); } } };Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
*/ protected final File createTempDir() throws IOException { File tempFile = File.createTempFile("IoTestCase", ""); if (!tempFile.delete() || !tempFile.mkdir()) { throw new IOException("failed to create temp dir"); } filesToDelete.add(tempFile); return tempFile; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
try { final File tempFile = File.createTempFile(prefix, suffix, directory); tempFile.setReadable(false, false); tempFile.setReadable(true, true); tempFile.setWritable(false, false); tempFile.setWritable(true, true); return tempFile; } catch (final IOException e) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// Check that we can find a resource if it is visible to the context class // loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an mΓ©ar fhada"); writer.close(); // First check that we can't find it without setting the context loader.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
} final File tempFile; final boolean isByteStream = inputStream instanceof ByteArrayInputStream; if (isByteStream) { inputStream.mark(0); // ByteArrayInputStream tempFile = null; } else { tempFile = createTempFile("tikaExtractor-", ".out", null); } try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
docs/em/docs/tutorial/request-files.md
* π πͺ π€ π βͺοΈβ‘οΈ π π. * β«οΈ βοΈ <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">π-π</a> `async` π’. * β«οΈ π¦ β π <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> π π π πͺ πΆββοΈ π π π π β π-π π. ### `UploadFile` `UploadFile` βοΈ π π’:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} if (includeContent) { File tempFile = null; File outputFile = null; try { tempFile = createTempFile("ftp-", ".tmp", null); try (OutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile))) { if (!client.retrieveFile(ftpInfo.getName(), out)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0)