Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for toLineString (0.05 sec)

  1. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            public ProtwordsItem write(final ProtwordsItem oldItem) {
                try {
                    if (item == null || item.getId() != oldItem.getId() || !item.isUpdated()) {
                        writer.write(oldItem.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
                        return oldItem;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. 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;
                    }
                    if (!item.equals(oldItem)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return A string in the format "input=>output".
         */
        public String toLineString() {
            if (isUpdated()) {
                return newInput + "=>" + newOutput;
            }
            return input + "=>" + output;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return The stopword as a string.
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInput);
            }
            return StringUtils.join(input);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * If the item has pending updates, the new values are used; otherwise, the current values are used.
         *
         * @return compact string representation of the mapping rule
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInputs, ",") + "=>" + newOutput;
            }
            return StringUtils.join(inputs, ",") + "=>" + output;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        /**
         * Converts the item to a string representation for writing to a file.
         *
         * @return A string in the format "input1,input2=>output1,output2".
         */
        public String toLineString() {
            if (isUpdated()) {
                if (Arrays.equals(newInputs, newOutputs)) {
                    return StringUtils.join(newInputs, ",");
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

        }
    
        /**
         * Returns the item as a line string.
         *
         * @return The item as a line string.
         */
        public String toLineString() {
            final StringBuilder buf = new StringBuilder(100);
            if (isUpdated()) {
                buf.append(quoteEscape(newToken));
                buf.append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Debug: print what we actually got
            if (result.size() > 0) {
                for (CharMappingItem item : result) {
                    System.out.println("Unexpected item: " + item.toLineString());
                }
            }
    
            // An empty file should return no items
            assertEquals("Empty file should have no items", 0, result.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top