Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ch (0.01 sec)

  1. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
            }
          } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 22:03:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                }
    
                char ch = s.charAt(pos);
                pos++;
                if (ch == '\\') {
                    sb.append(ch);
                    if (pos >= end) {
                        break; // ERROR, or let it go?
                    }
                    ch = s.charAt(pos);
                    pos++;
                }
    
                sb.append(ch);
            }
    
            if (sb.length() > 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

         * @param str
         *            the string to check
         * @param ch
         *            the character to find
         * @return true if the character is contained in the string, false otherwise
         */
        public static boolean contains(final String str, final char ch) {
            if (isEmpty(str)) {
                return false;
            }
            return str.indexOf(ch) >= 0;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

        /**
         * Counts occurrences of a character in a string, excluding quoted sections.
         *
         * @param line the line to analyze
         * @param ch the character to count
         * @return the number of occurrences
         */
        protected int countOccurrences(final String line, final char ch) {
            int count = 0;
            boolean inQuotes = false;
    
            for (int i = 0; i < line.length(); i++) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    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

                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                } else if ("item".equals(qName)) {
                    buffer.setLength(0);
                }
            }
    
            @Override
            public void characters(final char[] ch, final int offset, final int length) {
                buffer.append(new String(ch, offset, length));
            }
    
            @Override
            public void endElement(final String uri, final String localName, final String qName) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                return StringUtil.isNotBlank(qName) ? qName : localName;
            }
    
            @Override
            public void characters(final char[] ch, final int offset, final int length) {
                if (buf != null) {
                    buf.append(new String(ch, offset, length));
                }
            }
    
            @Override
            public void endElement(final String uri, final String localName, final String qName) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapAlternateLink.java

        /**
         * The language/region code for this alternate link.
         * Should be in ISO 639-1 format (language) optionally followed by ISO 3166-1 Alpha 2 format (region).
         * For example: "en", "en-US", "de-CH", "x-default"
         */
        private String hreflang;
    
        /**
         * The URL of the alternate version of the page.
         */
        private String href;
    
        /**
         * Creates a new SitemapAlternateLink instance.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

         *
         * @param ch the characters from the XML document
         * @param start the start position in the character array
         * @param length the number of characters to use from the character array
         * @throws SAXException if a SAX error occurs during character processing
         */
        @Override
        public void characters(final char[] ch, final int start, final int length) throws SAXException {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top