Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 273 for SUBSTRING (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         */
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        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.
         *
         * @param officeManager the office manager to set
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
            @Override
            public String getName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("h.ostname");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase
                assertEquals("H.OSTNAME", uniAddress.firstCalledName());
            }
        }
    
        @Nested
        @DisplayName("nextCalledName method tests")
        class NextCalledNameTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

         */
        public void setLimitDocNumPercentage(final String limitPercentage) {
            final int originalValue;
            if (limitPercentage.endsWith("%")) {
                originalValue = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1));
            } else {
                originalValue = Integer.parseInt(limitPercentage);
            }
    
            if (originalValue > 100) {
                this.limitPercentage = 100;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    String executionId = "default-cli";
                    int executionIdx = pluginGoal.indexOf('@');
                    if (executionIdx > 0) {
                        executionId = pluginGoal.substring(executionIdx + 1);
                    }
    
                    MojoDescriptor mojoDescriptor = mojoDescriptorCreator.getMojoDescriptor(pluginGoal, session, project);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        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;
        }
    
        private void executeCommand(final File inputFile, final File outputFile) {
    
            if (StringUtil.isBlank(command)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
            if (str.length() > 100) {
                str = str.substring(0, 100) + "...";
            }
    
            // Remove control characters
            return str.replaceAll("[\\x00-\\x1F\\x7F]", "?");
        }
    
        /**
         * Validation statistics
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

                      list.add((element == null) ? null : "q" + element);
                    }
                    return Collections2.transform(
                        list, from -> isNullOrEmpty(from) ? null : from.substring(1));
                  }
                })
            .named("Collections2.transform")
            .withFeatures(
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top