- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for tempFile (0.31 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
case 1: importSystemProperties(fileName, tempFile); break; case 2: importGsaXml(fileName, tempFile); break; case 3: importBulk(fileName, tempFile); break; case 4: importFessJson(fileName, tempFile); break; case 5:
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
@Test void testEquals() throws Exception { File tempFile = createTempFile("pomTest"); FileModelSource instance = new FileModelSource(tempFile); assertFalse(instance.equals(null)); assertFalse(instance.equals(new Object())); assertTrue(instance.equals(instance)); assertTrue(instance.equals(new FileModelSource(tempFile))); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K 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 = File.createTempFile("ftp-", ".tmp"); try (OutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile))) { if (!client.retrieveFile(ftpInfo.getName(), out)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix); tempFile.deleteOnExit(); markForDeletion(tempFile); return tempFile; } public void cleanUp() throws IOException { for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
final long contentLength; final File tempFile; final boolean isByteStream = inputStream instanceof ByteArrayInputStream; if (isByteStream) { inputStream.mark(0); tempFile = null; contentLength = ((ByteArrayInputStream) inputStream).available(); } else { try { tempFile = File.createTempFile("tikaExtractor-", ".out");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} return process(thumbnailId, responseData -> { final File tempFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ""); try { CopyUtil.copy(responseData.getResponseBody(), tempFile); final String tempPath = tempFile.getAbsolutePath(); final String outputPath = outputFile.getAbsolutePath();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
* Ele tem uma <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> interface `assíncrona`. * Ele expõe um objeto python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> que você pode passar diretamente para outras bibliotecas que esperam um objeto semelhante a um arquivo("file-like"). ### `UploadFile`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 19:52:32 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* It has a <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` interface. * It exposes an actual Python <a href="https://docs.python.org/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> object that you can pass directly to other libraries that expect a file-like object. ### `UploadFile`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0)