- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 72 for createTempFile (0.12 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
verifyToken(this::asDownloadHtml); return asStream("elevate.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
assertThat(bodyToHex(body)).isEqualTo("48656c6c6f") assertThat(bodyToHex(body), "Retransmit body").isEqualTo("48656c6c6f") } @Test fun file() { val file = File.createTempFile("RequestTest", "tmp") val writer = FileWriter(file) writer.write("abc") writer.close() val contentType = "text/plain".toMediaType() val body: RequestBody = file.asRequestBody(contentType)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
if (hotThreadInterval > -1) { cmdList.add("-h"); cmdList.add(Integer.toString(hotThreadInterval)); } final File propFile = ComponentUtil.getSystemHelper().createTempFile(getExecuteType() + "_", ".properties"); try { cmdList.add("-p"); cmdList.add(propFile.getAbsolutePath()); createSystemProperties(cmdList, propFile);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 23 04:13:47 UTC 2024 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
private PathMappingHelper pathMappingHelper; private File propertiesFile; @Override public void setUp() throws Exception { super.setUp(); propertiesFile = File.createTempFile("test", ".properties"); FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]); propertiesFile.deleteOnExit(); DynamicProperties systemProps = new DynamicProperties(propertiesFile);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } else { File outputFile = null; try { outputFile = File.createTempFile("crawler-SmbClient-", ".out"); copy(file, outputFile); responseData.setResponseBody(outputFile, true); } catch (final Exception e) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 18.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
systemProperties.reload(options.propertiesPath); } else { try { final File propFile = ComponentUtil.getSystemHelper().createTempFile("crawler_", ".properties"); if (propFile.delete() && logger.isDebugEnabled()) { logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* href="https://github.com/google/guava/issues/4011">CVE-2020-8908</a>.) * * <p>Use this method instead of {@link File#createTempFile(String, String)} when you wish to * create a directory, not a regular file. A common pitfall is to call {@code createTempFile}, * delete the file and create a directory in its place, but this leads a race condition which can
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* href="https://github.com/google/guava/issues/4011">CVE-2020-8908</a>.) * * <p>Use this method instead of {@link File#createTempFile(String, String)} when you wish to * create a directory, not a regular file. A common pitfall is to call {@code createTempFile}, * delete the file and create a directory in its place, but this leads a race condition which can
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
inputStream.mark(0); tempFile = null; contentLength = ((ByteArrayInputStream) inputStream).available(); } else { try { tempFile = File.createTempFile("tikaExtractor-", ".out"); } catch (final IOException e) { throw new ExtractException("Could not create a temp file.", e); } contentLength = tempFile.length();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0)