- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newOutputStream (0.05 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} } private void importFessJson(final String fileName, final File tempFile) { try (final InputStream in = new FileInputStream(tempFile); final OutputStream out = Files.newOutputStream(getFessJsonPath())) { CopyUtil.copy(in, out); } catch (final IOException e) { logger.warn("Failed to process fess.json file: {}", fileName, e); } finally {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
return; } Path handleFile = stateDirectory.resolve(info.getCreateGuid().toString() + ".handle"); try (ObjectOutputStream oos = new ObjectOutputStream(Files.newOutputStream(handleFile, StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) { oos.writeObject(info); log.debug("Persisted handle: {}", info.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { elevateWordService.exportCsv(writer); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { badWordService.exportCsv(writer); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { elevateWordService.exportCsv(writer); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
private void persistHandle(HandleInfo info) { Path handleFile = stateDirectory.resolve(info.createGuid.toString() + ".handle"); try (ObjectOutputStream oos = new ObjectOutputStream( Files.newOutputStream(handleFile))) { oos.writeObject(info); } catch (IOException e) { log.error("Failed to persist handle: " + info.path, e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)