Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 110 for setPath (0.08 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            File f = new File(getBasedir(), path);
    
            f.createNewFile();
    
            return artifactRepositoryFactory.createArtifactRepository(
                    "test", "file://" + f.getPath(), repoLayout, null, null);
        }
    
        protected String getRepositoryLayout() {
            return "default";
        }
    
        protected ArtifactRepository localRepository() throws Exception {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         * @deprecated Use {@link #getPath()} instead.
         */
        @Deprecated
        public File getFile() {
            return path.toFile();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @since 4.0.0
         */
        public Path getPath() {
            return path;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     *
     * @since 4.0.0
     * @see Repository
     * @see org.apache.maven.api.settings.Settings
     */
    @Experimental
    @Immutable
    public interface LocalRepository extends Repository {
    
        @Nonnull
        Path getPath();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

        public void test_getData() throws Exception {
            final AccessResultDataImpl accessResultData = new AccessResultDataImpl();
            accessResultData.setTransformerName("textTransformer");
            accessResultData.setData("xyz".getBytes());
    
            final Object obj = textTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof String);
            assertEquals("xyz", obj.toString());
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("path2", combined.getPath());
                assertEquals("DOMAIN", combined.getDomain());
                assertEquals(second.getExpiration(), combined.getExpiration());
    
                // Path consumed should be combined
                int expectedPathConsumed = 20 + 15;
                if (first.getPath() != null) {
                    expectedPathConsumed -= (first.getPath().length() + 1);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/DownloadedArtifact.java

     */
    @Experimental
    @Immutable
    public interface DownloadedArtifact extends Artifact {
    
        /**
         * {@return the a path to the file that has been downloaded to the file system}.
         */
        Path getPath();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

         *
         * @param artifact The {@link Artifact} whose path is to be retrieved.
         * @return The {@link Path} to the artifact, or {@code null} if unavailable.
         */
        @Nullable
        Path getPath(@Nonnull Artifact artifact);
    
        /**
         * Returns a mapping of artifact coordinates to their corresponding resolution results.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        if (directoryLeaseManager != null && 
            directoryLeaseManager.canCacheDirectoryListing(getPath())) {
            
            List<SmbFile> cachedFiles = directoryLeaseManager.getCachedDirectoryListing(getPath());
            if (cachedFiles != null) {
                log.debug("Using cached directory listing for: {}", getPath());
                return cachedFiles.toArray(new SmbFile[0]);
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            HandleInfo info1 = manager.getHandleByGuid(guid1);
            HandleInfo info2 = manager.getHandleByGuid(guid2);
    
            assertNotNull(info1);
            assertNotNull(info2);
            assertNotEquals(info1.getPath(), info2.getPath());
            assertNotEquals(info1.getType(), info2.getType());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

    /**
     * An XML writer request.
     *
     * @since 4.0.0
     * @param <T> the object type to read
     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top