Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Input (0.12 sec)

  1. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * @return the current column number
         */
        int getColumnNumber();
    
        /**
         * Return the byte or character offset into the input source this location
         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

        private boolean insideGet;
    
        @Deprecated
        protected void getTransfer(Resource resource, File destination, InputStream input, boolean closeInput, int maxSize)
                throws TransferFailedException {
            addTransfer("getTransfer " + resource.getName());
            super.getTransfer(resource, destination, input, closeInput, maxSize);
        }
    
        public void get(String resourceName, File destination)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            return new org.apache.maven.model.Model(model);
        }
    
        @Override
        public org.apache.maven.model.Model read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
            try (InputStream in = input) {
                org.apache.maven.api.model.Model model = read(null, in, null, options);
                return new org.apache.maven.model.Model(model);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

                this.algorithm = algorithm;
            }
    
            @Override
            public void update(ByteBuffer input) {
                algorithm.update(input);
            }
    
            @Override
            public String checksum() {
                return algorithm.checksum();
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/PathTranslator.java

         * platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
         * @since 4.0.0
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelProcessor.java

         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws XmlReaderException If the input format could not be parsed.
         */
        Model read(XmlReaderRequest request) throws IOException, XmlReaderException;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

        }
    
        // helper to determine if problems contain error
        private static boolean hasErrors(Iterable<? extends ModelProblem> problems) {
            for (ModelProblem input : problems) {
                if (input.getSeverity().equals(Severity.ERROR)
                        || input.getSeverity().equals(Severity.FATAL)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            if (!Files.exists(metadataPath)) {
                return Metadata.newInstance();
            }
    
            try (InputStream input = Files.newInputStream(metadataPath)) {
                return new MetadataStaxReader().read(input, false);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryException("Could not parse metadata " + metadataPath + ": " + e.getMessage(), e);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

    import java.nio.file.Path;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    
    /**
     * The ModelTransformer is a way to transform the local pom while streaming the input.
     *
     * The {@link #transform(ModelTransformerContext, Model, Path)} method uses a Path on purpose, to ensure the
     * local pom is the original source.
     *
     * @since 4.0.0
     */
    public interface ModelTransformer {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top