Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for setNewOutput (0.07 seconds)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            updateItem1.setNewInputs(new String[] { "m", "n" });
            updateItem1.setNewOutput("o");
    
            // Create another update for the same item
            CharMappingItem updateItem2 = new CharMappingItem(1L, new String[] { "x", "y" }, "z");
            updateItem2.setNewInputs(new String[] { "p", "q" });
            updateItem2.setNewOutput("r");
    
            // First update should succeed
            charMappingFile.update(updateItem1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Set new output
            item.setNewOutput("newOutput");
            assertEquals("newOutput", item.getNewOutput());
        }
    
        @Test
        public void test_setNewOutput_withNewline() {
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            // Test newline replacement in setNewOutput
            item.setNewOutput("line1\nline2\nline3");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        public synchronized void delete(final StemmerOverrideItem item) {
            final StemmerOverrideItem stemmerOverrideItem = item;
            stemmerOverrideItem.setNewInput(StringUtil.EMPTY);
            stemmerOverrideItem.setNewOutput(StringUtil.EMPTY);
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         */
        @Override
        public synchronized void delete(final CharMappingItem item) {
            final CharMappingItem mappingItem = item;
            mappingItem.setNewInputs(StringUtil.EMPTY_STRINGS);
            mappingItem.setNewOutput(StringUtil.EMPTY);
            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        /**
         * Reloads the character mapping items from the dictionary file.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                validateMappingString(action, newInputs, "inputs", hook);
                entity.setNewInputs(newInputs);
                final String newOutput = form.output;
                entity.setNewOutput(newOutput);
                return entity;
            });
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                final VaErrorHook hook) {
            return getEntity(form).map(entity -> {
                entity.setNewInput(form.input);
                entity.setNewOutput(form.output);
                return entity;
            });
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top