Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PathSource (0.06 sec)

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

    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
            this.path = path.normalize();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
            return new PathSource(nonNull(path, "path cannot be null"), location);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

        @Nullable
        Source resolve(@Nonnull String relative);
    
        /**
         * Creates a Source for the following Path
         */
        @Nonnull
        static Source fromPath(@Nonnull Path path) {
            return new PathSource(nonNull(path, "path cannot be null"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top