Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for getPath (0.2 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

                    .build());
        Files.createDirectories(fs.getPath("dir/b/i/j/l"));
        Files.createFile(fs.getPath("dir/a"));
        Files.createFile(fs.getPath("dir/c"));
        Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i"));
        Files.createDirectory(fs.getPath("dir/e"));
        Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete"));
        Files.createFile(fs.getPath("dir/b/g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        public static PathInfo convertToItem(final String id) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                stopwordsService.getStopwordsFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadStopwordsFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactManager#setPath(Artifact, Path)
         */
        @Override
        public void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path) {
            getService(ArtifactManager.class).setPath(artifact, path);
        }
    
        /**
         * Shortcut for <code>getService(ArtifactManager.class).getPath(...)</code>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. 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 {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. 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;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactManager#setPath(Artifact, Path)
         */
        @Override
        public void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path) {
            getService(ArtifactManager.class).setPath(artifact, path);
        }
    
        /**
         * Shortcut for <code>getService(ArtifactManager.class).getPath(...)</code>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionRangeResolver.java

                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
                            try (InputStream in = Files.newInputStream(metadata.getPath())) {
                                versioning =
                                        new MetadataStaxReader().read(in, false).getVersioning();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
                                    .getAbsoluteFile()
                                    .toURI()
                                    .getPath(),
                    new DefaultRepositoryLayout(),
                    new ArtifactRepositoryPolicy(),
                    new ArtifactRepositoryPolicy());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top