Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for Input (0.15 sec)

  1. 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)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    // NOTE: There's java.nio.charset.MalformedInputException and sun.io.MalformedInputException
                    if (e.getClass().getName().endsWith("MalformedInputException")) {
                        msg = "Some input bytes do not match the file encoding.";
                    } else {
                        msg = e.getClass().getSimpleName();
                    }
                }
                problems.add(
                        Severity.FATAL,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            // is a first step. There are several replacements below, in order to normalize
            // the path character before we operate on the string as a regex input, and
            // in order to avoid surprises with the File construction...
            // -------------------------------------------------------------------------------------
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. 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);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    abstract interface StreamConsumer { public abstract void consumeLine(String); } org/codehaus/plexus/util/cli/StreamFeeder.class package org.codehaus.plexus.util.cli; public synchronized class StreamFeeder extends Thread { private java.io.InputStream input; private java.io.OutputStream output; private boolean done; public void StreamFeeder(java.io.InputStream, java.io.OutputStream); public void run(); public void close(); public boolean isDone(); private void feed() throws java.io.IOException; } org...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  6. 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 {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        // -----------------------------------------------------------------------------------------------
    
        // TODO These two tests display a lack of symmetry with respect to the input which is a free form string and the
        //      mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinate t
         * @return the version range resolution result
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

            }
            descriptors = Collections.emptyMap();
            isModuleHierarchy = false;
        }
    
        /**
         * Returns the module name declared in the given {@code module-info} descriptor.
         * The input stream may be for a file or for an entry in a JAR file.
         */
        @Nonnull
        private static String getModuleName(InputStream in) throws IOException {
            return ModuleDescriptor.read(in).name();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            assertEquals("1.2.3-20090413X094722-2", ArtifactUtils.toSnapshotVersion("1.2.3-20090413X094722-2"));
        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top