- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for datasource (0.07 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* Basic implementation of {@link Source} that uses a {@link Path} as the underlying source. */ static class PathSource implements Source { @Nonnull protected final Path path; @Nonnull protected final String location; /** * Constructs a new PathSource with the specified path. * * @param path the filesystem path to the source contentCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
} @Test void testPathSourceFunctionality() { // Test basic source functionality Path path = Paths.get("/tmp"); Sources.PathSource source = (Sources.PathSource) Sources.fromPath(path); assertEquals(path.normalize(), source.getPath()); assertEquals(path.toString(), source.getLocation()); Source resolved = source.resolve("subdir");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0)