Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PathSource (0.17 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;
            this.location = location != null ? location : path.toString();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K 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);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 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"));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top