Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 273 for SUBSTRING (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

         */
        protected String getDetectText(final String text) {
            final String result;
            if (text.length() <= maxTextLength) {
                result = text;
            } else {
                result = text.substring(0, maxTextLength);
            }
            return result.replaceAll("\\s+", " ");
        }
    
        /**
         * Returns the supported language for a given language.
         *
         * @param lang The language to check.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

         */
        private static String processLine(String line, String mavenProjectBasedir) {
            // Remove comments
            int commentIndex = line.indexOf('#');
            if (commentIndex >= 0) {
                line = line.substring(0, commentIndex);
            }
    
            // Trim whitespace
            line = line.trim();
    
            // Replace MAVEN_PROJECTBASEDIR placeholders
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
            if (values.length == 0) {
                return StringUtil.EMPTY;
            }
            return values[values.length - 1];
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            byte[] src = (expected + "\0").getBytes(StandardCharsets.UTF_8);
            String result = response.readString(src, 0, src.length);
            // The method should remove the null terminator
            assertEquals(expected, result.substring(0, expected.length()));
        }
    
        @Test
        void testReadString_Oem_NoNullTerminator() {
            response.useUnicode = false;
            String expected = "test";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            if (length <= 0) {
                return StringUtil.EMPTY;
            }
            if (length >= buf.length()) {
                return buf.toString();
            }
            return buf.substring(buf.length() - length, buf.length());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    if (i < 0) {
                        share = canon.substring(1);
                        unc = "\\";
                    } else if (i == o) {
                        share = canon.substring(1, i);
                        unc = "\\";
                    } else {
                        share = canon.substring(1, i);
                        unc = canon.substring(i, out[o] == '/' ? o : o + 1);
                        unc = unc.replace('/', '\\');
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            if (StringUtil.isBlank(baseUrl)) {
                baseUrl = "http://localhost:8080";
            }
            if (baseUrl.endsWith("/")) {
                baseUrl = baseUrl.substring(0, baseUrl.length() - 1);
            }
            return baseUrl + path;
        }
    
        /**
         * Gets the SAML settings.
         * @return The SAML settings.
         */
        protected Saml2Settings getSettings() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 20.2K bytes
    - Viewed (3)
Back to top