Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for apos (1.5 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

        }
    
        public void test_escapeXml_allSpecialChars() {
            // Test all special characters
            String input = "Test & < > \"quote\" 'apos'";
            String expected = "Test &amp; &lt; &gt; &quot;quote&quot; &apos;apos&apos;";
            assertEquals(expected, XmlUtil.escapeXml(input));
        }
    
        public void test_escapeXml_noSpecialChars() {
            // Test string without special characters
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * <ul>
         *   <li>&amp; with &amp;amp;</li>
         *   <li>&lt; with &amp;lt;</li>
         *   <li>&gt; with &amp;gt;</li>
         *   <li>" with &amp;quot;</li>
         *   <li>' with &amp;apos;</li>
         * </ul>
         * Additionally, it strips invalid XML characters from the input string.
         *
         * @param value the input string to be escaped
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

            int pos = 0;
            int pos2 = 0;
            while (true) {
                pos = text.indexOf(fromText, pos2);
                if (pos == 0) {
                    buf.append(toText);
                    pos2 = fromText.length();
                } else if (pos > 0) {
                    buf.append(text.substring(pos2, pos));
                    buf.append(toText);
                    pos2 = pos + fromText.length();
                } else {
    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/client/CrawlerClientFactory.java

         * @param regex The regular expression to match URLs.
         * @param client The CrawlerClient instance.
         * @param pos The position to add the client.
         */
        public void addClient(final String regex, final CrawlerClient client, final int pos) {
            if (StringUtil.isBlank(regex)) {
                throw new CrawlerSystemException(
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

         * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an
         * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError.
         * For large files, use streaming APIs instead.
         * </p>
         *
         * @param file
         *            The file. Must not be {@literal null}.
         * @return A byte array containing the contents of the file.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                    pos = fileName.indexOf('\\');
                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. CLAUDE.md

    ## Key Patterns
    
    ### Actions (Controllers)
    - Located in `app.web.*` or `app.web.admin.*`
    - Methods with `@Execute` are web endpoints
    - DI via `@Resource` annotation
    - `HtmlResponse` for JSP, `JsonResponse` for APIs
    
    ### Services
    - Business logic in `app.service.*`
    - Injected into Actions
    - Use behavior classes to access OpenSearch
    
    ### Helpers
    - Cross-cutting utilities in `helper.*`
    - Stateless, injected via DI
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                int pos = escaped.indexOf(escapedHighlightPre);
                while (pos >= 0) {
                    final int c = escaped.codePointAt(pos);
                    if (Character.isISOControl(c) || highlightTerminalCharSet.contains(c)) {
                        break;
                    }
                    pos--;
                }
    
                value = escaped.substring(pos + 1);
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
                    value = value.substring(0, pos) + " " + value.substring(lastPos + 3);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         * @return the file name
         */
        private String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
            if (pos >= 0) {
                return name.substring(pos + 1);
            }
            return name;
        }
    
        /**
         * Sets the office manager for document conversion.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top