Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 174 for getHash (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

        /**
         * Returns the path of the file previously associated to this artifact
         * 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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
            Path mavenHome = fs.getPath("C:\\maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
                    final String filename = head.getPath();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static String toJarFilePath(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URL nestedUrl = URLUtil.create(jarUrl.getPath());
            final String nestedUrlPath = nestedUrl.getPath();
            final int pos = nestedUrlPath.lastIndexOf('!');
            final String jarFilePath = nestedUrlPath.substring(0, pos);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

            return MAVEN_METADATA_XML;
        }
    
        @Deprecated
        @Override
        public File getFile() {
            return path != null ? path.toFile() : null;
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                synonymService.getSynonymFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            final DictionaryManager dictionaryManager = new DictionaryManager();
            final SynonymCreator synonymCreator = new SynonymCreator();
            final SynonymFile synonymFile = (SynonymFile) synonymCreator.create(file1.getPath(), new Date());
            dictionaryManager.store(synonymFile, file1);
            final DictionaryFile<? extends DictionaryItem>[] synonymFiles = dictionaryManager.getDictionaryFiles();
            assertEquals(1, synonymFiles.length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            this.artifactManager = artifactManager;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(Project project) {
            Optional<ProducedArtifact> mainArtifact = project.getMainArtifact();
            if (mainArtifact.isPresent()) {
                return artifactManager.getPath(mainArtifact.get());
            }
            return Optional.empty();
        }
    
        @Nonnull
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Handler.java

                        host != null && host.length() == 0 ) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL( u, spec, start, limit );
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesTest.java

      private static class BadLengthFile extends File {
    
        private final long badLength;
    
        public BadLengthFile(File delegate, long badLength) {
          super(delegate.getPath());
          this.badLength = badLength;
        }
    
        @Override
        public long length() {
          return badLength;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top