Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 233 for setPath (0.05 seconds)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
            verify(requestWithPath, times(1)).setPath(newPath);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
         * Associates the given file path to the artifact.
         */
        void setPath(@Nonnull ProducedArtifact artifact, Path path);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

        }
    
        /**
         * Gets the cookie path.
         *
         * @return the path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Sets the cookie path.
         *
         * @param path the path
         */
        public void setPath(final String path) {
            this.path = path;
        }
    
        /**
         * Gets the cookie expiry date.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.fullName = fullName;
        }
    
        /**
         * {@inheritDoc}
         *
         * Strips a leading \
         *
         * @see jcifs.internal.RequestWithPath#setPath(java.lang.String)
         */
        @Override
        public void setPath(String path) {
            if (path.length() > 0 && path.charAt(0) == '\\') {
                path = path.substring(1);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                path = defaultArtifact.getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
            String id = id(requireNonNull(artifact, "artifact cannot be null"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

        @Deprecated
        @Override
        public MavenMetadata setFile(File file) {
            return new VersionsMetadata(artifact, file.toPath(), timestamp);
        }
    
        @Override
        public MavenMetadata setPath(Path path) {
            return new VersionsMetadata(artifact, path, timestamp);
        }
    
        @Override
        public String getGroupId() {
            return artifact.getGroupId();
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     * @since 4.0.0
     * @see Project#getMainArtifact()
     * @see Project#getPomArtifact()
     * @see org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path)
     * @see org.apache.maven.api.services.ArtifactManager#setPath(ProducedArtifact, Path)
     */
    @Experimental
    @Immutable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/RequestWithPath.java

         *
         * @return the full UNC path
         */
        String getFullUNCPath();
    
        /**
         * Sets the path to the resource.
         *
         * @param path the path to set
         */
        void setPath(String path);
    
        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
         * @param server the server name
         * @param fullPath the full UNC path
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Test path with both leading and trailing backslash
            request.setPath("\\test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
            // Test single backslash
            request.setPath("\\");
            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsThumbnailQueue.java

        public void setGenerator(String value) {
            registerModifiedProperty("generator");
            this.generator = value;
        }
    
        public String getPath() {
            checkSpecifiedProperty("path");
            return convertEmptyToNull(path);
        }
    
        public void setPath(String value) {
            registerModifiedProperty("path");
            this.path = value;
        }
    
        public String getTarget() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top