Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UrlSource (0.06 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!UrlSource.class.equals(obj.getClass())) {
                return false;
            }
    
            UrlSource other = (UrlSource) obj;
            return Objects.equals(url.toExternalForm(), other.url.toExternalForm());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

     */
    package org.apache.maven.settings.building;
    
    import java.net.URL;
    
    import org.apache.maven.building.UrlSource;
    
    /**
     * Wraps an ordinary {@link URL} as a settings source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlSettingsSource extends UrlSource implements SettingsSource {
    
        /**
         * Creates a new model source backed by the specified URL.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java

     */
    package org.apache.maven.model.building;
    
    import java.net.URL;
    
    import org.apache.maven.building.UrlSource;
    
    /**
     * Wraps an ordinary {@link URL} as a model source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlModelSource extends UrlSource implements ModelSource {
        /**
         * Creates a new model source backed by the specified URL.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top