Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for toLineString (1.31 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            public KuromojiItem write(final KuromojiItem 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            public CharMappingItem write(final CharMappingItem 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. 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;
                    }
                    if (!item.equals(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)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

        }
    
        /**
         * Converts this item to a string representation for writing to file.
         * @return the string representation of this item
         */
        public String toLineString() {
            if (isUpdated()) {
                return StringUtils.join(newInput);
            }
            return StringUtils.join(input);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K 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;
                    }
                    if (!item.equals(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/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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top