- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 614 for tempFile (0.09 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java
final File tempFile = ComponentUtil.getSystemHelper().createTempFile("esreq_", ".json"); try (final InputStream in = response.getContentAsStream()) { CopyUtil.copy(in, tempFile); } catch (final Exception e1) { if (tempFile != null && tempFile.exists() && !tempFile.delete()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
final File tempFile = ComponentUtil.getSystemHelper().createTempFile("tmp-adminplugin-", ".jar"); try (final InputStream is = form.jarFile.getInputStream(); final OutputStream os = new FileOutputStream(tempFile)) { CopyUtil.copy(is, os); } catch (final Exception e) { if (tempFile.exists() && !tempFile.delete()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
internal/config/certs_test.go
func createTempFile(prefix, content string) (tempFile string, err error) { var tmpfile *os.File if tmpfile, err = os.CreateTemp("", prefix); err != nil { return tempFile, err } if _, err = tmpfile.Write([]byte(content)); err != nil { return tempFile, err } if err = tmpfile.Close(); err != nil { return tempFile, err } tempFile = tmpfile.Name() return tempFile, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 21.6K bytes - Viewed (0) -
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) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K 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) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.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)