Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 522 for PATH (0.23 sec)

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

        Path path = tempDir.resolve("parent/nonexistent.file");
        Path parent = path.getParent();
        assertFalse(Files.exists(parent));
        MoreFiles.createParentDirectories(path);
        assertTrue(Files.exists(parent));
      }
    
      public void testCreateParentDirectories_multipleParentsNeeded() throws IOException {
        Path path = tempDir.resolve("grandparent/parent/nonexistent.file");
        Path parent = path.getParent();
    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. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        public String unalignFromBaseDirectory(String path, File basedir) {
            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
            path = path.trim();
    
            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            return new XmlWriterRequestBuilder<>();
        }
    
        class XmlWriterRequestBuilder<T> {
            Path path;
            OutputStream outputStream;
            Writer writer;
            T content;
    
            public XmlWriterRequestBuilder<T> path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> outputStream(OutputStream outputStream) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

        Path fileA = newFile("file-a");
        Path fileB = newFile("file-b");
        Path dir1 = newDir("dir-1");
        Path dir2 = newDir("dir-2");
    
        assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      public void testFileTraverser_multipleDirectoryLayers_breadthFirstStartsWithTopLayer()
          throws Exception {
        Path fileA = newFile("file-a");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 09 19:30:52 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            if (path.startsWith("http:") || path.startsWith("https:")) {
                return true;
            }
    
            return false;
        }
    
        protected String convertCrawlingPath(final String path) {
            if (path.startsWith("http:") || path.startsWith("https:") || path.startsWith("smb:") || path.startsWith("smb1:")
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *
         * @param path directory or JAR file to test
         * @param resolve whether the module names are requested. If false, null values may be used instead
         * @throws IOException if an error occurred while reading the JAR file or the module descriptor
         */
        PathModularization(Path path, boolean resolve) throws IOException {
            if (Files.isDirectory(path)) {
                /*
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
                throw new IllegalArgumentException("path, url, reader or inputStream must be non null");
            }
            try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
        @Nullable
        ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative);
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path)
         */
        void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path);
    
        /**
         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                    Artifact artifact = session.getArtifact(aetherArtifact);
                    Path path = artifactManager.getPath(artifact).orElse(null);
                    if (path != null) {
                        paths.put(artifact, path);
                    } else {
                        requests.add(new ArtifactRequest(aetherArtifact, repositories, null));
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top