- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for Write (0.64 sec)
-
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} } /** * Writes a raw line of text to the temporary file. * * @param line the line of text to write */ public void write(final String line) { try { writer.write(line); writer.write(Constants.LINE_SEPARATOR);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} bw.write(mapper.writeValueAsString(dataObj)); } else { bw.write(line); } } else { bw.write(line); } } bw.write("\n"); } bw.flush();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 32.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
*/ public StemmerOverrideItem write(final StemmerOverrideItem oldItem) { try { if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) { writer.write(oldItem.toLineString()); writer.write(Constants.LINE_SEPARATOR); return oldItem; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java
// First write SuggestWriterResult result1 = writer.write(runner.client(), suggester.settings(), suggester.getIndex(), new SuggestItem[] { item }, false); assertNotNull(result1); assertFalse(result1.hasFailure()); runner.refresh(); // Second write with updateRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
/** * Writes data to the specified file path. * * @param path the file path to write to * @param data the data to write */ protected void write(final String path, final byte[] data) { validateFilePath(path); LdiFileUtil.write(path, data); } /** * Validates the file path. * * @param path the file path to validateRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
// Create a file larger than MAX_BUF_SIZE (10MB) // Write 11MB of data try (FileOutputStream fos = new FileOutputStream(largeFile)) { final byte[] chunk = new byte[1024 * 1024]; // 1MB for (int i = 0; i < 11; i++) { // Write 11MB fos.write(chunk); } } try { FileUtil.readBytes(largeFile);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
// Create a temporary file with test data File tempFile = File.createTempFile("test-", ".tmp"); try (FileOutputStream fos = new FileOutputStream(tempFile)) { fos.write("Test data".getBytes()); } // Read from TemporaryFileInputStream try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) { assertEquals('T', stream.read());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
* * @param file the file path to write the thread dump to */ public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try { writer.write(s); writer.write('\n');Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
zos.putNextEntry(entry1); zos.write("Valid content ใในใ".getBytes("UTF-8")); zos.closeEntry(); // Add another valid entry final ZipEntry entry2 = new ZipEntry("another.txt"); zos.putNextEntry(entry2); zos.write("Another valid content".getBytes("UTF-8")); zos.closeEntry(); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
} }); } /** * Writes OpenSearch JSON API responses to the ZIP output stream. * * @param zos the ZIP output stream to write to * @param id the diagnostic ID for organizing files in the ZIP */ protected void writeFesenJson(final ZipOutputStream zos, final String id) { writeElastisearchJsonApi(zos, id, "cluster", "health");Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.1K bytes - Viewed (0)