Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for getPath (0.06 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"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "view", names);
        }
    
        public static Path getDictionaryPath(final String... names) {
            return getPath("WEB-INF/", "dict", names);
        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
            return getPath("WEB-INF/", "site", names);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    indent += "  ";
                }
            } else if (collectStepTrace != null) {
                if (collectStepTrace.getPath().get(0).getArtifact() == null) {
                    return;
                }
                baseName = ArtifactIdUtils.toId(collectStepTrace.getPath().get(0).getArtifact())
                        .replace(":", "_");
                trackingFile = trackingDir.resolve(baseName + ext);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. android/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"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

                return false;
            }
            FileModelSource other = (FileModelSource) obj;
            return getPath().equals(other.getPath());
        }
    
        @Override
        public int hashCode() {
            return getPath().hashCode();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
                path = ((DefaultArtifact) artifact).getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
            String id = id(nonNull(artifact, "artifact"));
            if (session.getMavenSession().getAllProjects() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return getPathForLocalArtifact(artifact);
        }
    
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
            return getPath(metadata, getRepositoryKey(repository, context));
        }
    
        String getRepositoryKey(RemoteRepository repository, String context) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
                return file.getAbsoluteFile();
            } else {
                return Paths.get(baseDirectory, file.getPath()).normalize().toFile();
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
            Files.createDirectories(mavenConf);
            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\",  ?/foo/bar\n");
            Path userDirectory = fs.getPath("/user");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top