Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for input (0.03 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. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                return read(in, null, options);
            }
        }
    
        @Override
        public Model read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         * @throws MetadataParseException If the input format could not be parsed.
         */
        Metadata read(Reader input, Map<String, ?> options) throws IOException, MetadataParseException;
    
        /**
         * Reads the metadata from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the metadata from, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

    public class DefaultSettingsReader implements SettingsReader {
    
        @Override
        public Settings read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = Files.newInputStream(input.toPath())) {
                InputSource source = new InputSource(input.toString());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         * @throws SettingsParseException If the input format could not be parsed.
         */
        Settings read(Reader input, Map<String, ?> options) throws IOException, SettingsParseException;
    
        /**
         * Reads the settings from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
         * @param input The stream to deserialize the settings from, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

    @Named
    @Singleton
    public class DefaultToolchainsReader implements ToolchainsReader {
    
        @Override
        public PersistedToolchains read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (InputStream in = Files.newInputStream(input.toPath())) {
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options)));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

         * @throws ToolchainsParseException If the input format could not be parsed.
         */
        PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException, ToolchainsParseException;
    
        /**
         * Reads the toolchains from the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * @throws ModelParseException If the input format could not be parsed.
         */
        Model read(Path input, Map<String, ?> options) throws IOException, ModelParseException;
    
        /**
         * Reads the model from the specified character reader. The reader will be automatically closed before the method
         * returns.
         *
         * @param input The reader to deserialize the model from, must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/path/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}.
         * @deprecated Use {@link #alignToBaseDirectory(String, Path)} instead.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        /**
         * Calculates the effective repositories for the given input repositories which are assumed to be already mirrored
         * (if applicable). This process will essentially remove duplicate repositories by merging them into one equivalent
         * repository. It is worth to point out that merging does not simply choose one of the input repositories and
         * discards the others but actually combines their possibly different policies.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top