Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for WRITE (0.69 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(2);
            cos.write(3);
            assertTrue(cos.isInMemory());
            cos.write(4); // Exceeds threshold
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            cos.close();
        }
    
        @Test
        public void testGetDataInMemory() throws IOException {
            // getData() should return the written data when in memory
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            /**
             * Writes a string line to the temporary file.
             * @param line the line 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: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

             */
            public StopwordsItem write(final StopwordsItem 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: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. 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 update
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            /**
             * Writes a line to the new file.
             *
             * @param line The line 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: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

             */
            public SynonymItem write(final SynonymItem 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: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. 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 validate
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top