Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for getLocations (0.15 sec)

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

        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
         * @return The underlying character stream, never {@code null}.
         */
        public String getContent() {
            return content;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            @Override
            public InputStream getInputStream() throws IOException {
                return source.openStream();
            }
    
            @Override
            public String getLocation() {
                return source.getLocation();
            }
    
            @Override
            public ModelSource2 getRelatedSource(String relPath) {
                Source rel = source.resolve(relPath);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            this.importedFrom = null;
        }
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
         * @return the location
         */
        public String getLocation() {
            return this.location;
        }
    
        /**
         * Get the identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}.
         *
         * @return the model id
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader;
    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultPluginXmlFactory implements PluginXmlFactory {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                            .setMessage("Malformed POM " + modelSource.getLocation() + ": " + e.getMessage())
                            .setException(e));
                }
    
                if (source != null) {
                    try {
                        org.apache.maven.api.model.InputLocation loc = model.getLocation("");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
            assertEquals("(memory)", source.getLocation());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
         * @return The underlying URL, never {@code null}.
         */
        public URL getUrl() {
            return url;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        @Override
        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                        return source.getInputStream();
                    }
    
                    @Override
                    public String getLocation() {
                        return source.getLocation();
                    }
    
                    @Override
                    public Source resolve(String relative) {
                        return null;
                    }
                };
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
            return path.toString();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top