Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for read (0.13 sec)

  1. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                            expressionDocumentation.putAll(doco);
                        }
                    } catch (IOException e) {
                        throw new ExpressionDocumentationException(
                                "Failed to read documentation for expression root: " + root, e);
                    } catch (XmlPullParserException e) {
                        throw new ExpressionDocumentationException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            try (InputStream fis = Files.newInputStream(path)) {
                byte[] buffer = new byte[SHA1_BUFFER_SIZE];
                int read;
                while ((read = fis.read(buffer)) != -1) {
                    md.update(buffer, 0, read);
                }
            }
            StringBuilder result = new StringBuilder();
            for (byte b : md.digest()) {
                result.append(String.format("%02x", b));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

            final byte[] buffer = new byte[1024 * 32];
            for (; ; ) {
                int read = stream.read(buffer);
                if (read < 0) {
                    break;
                }
                for (ChecksumCalculator checksumCalculator : algMap.values()) {
                    checksumCalculator.update(ByteBuffer.wrap(buffer, 0, read));
                }
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

            final byte[] buffer = new byte[1024 * 32];
            for (; ; ) {
                int read = stream.read(buffer);
                if (read < 0) {
                    break;
                }
                for (ChecksumCalculator checksumCalculator : algMap.values()) {
                    checksumCalculator.update(ByteBuffer.wrap(buffer, 0, read));
                }
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                        return PersistedToolchains.newInstance();
                    }
                    toolchains = request.getSession()
                            .getService(ToolchainsXmlFactory.class)
                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(toolchainsSource.getLocation())
                                    .strict(true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

         *
         * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.
         * @param profile The (read-only) profile whose values should be injected, may be <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * An XML writer request.
     *
     * @since 4.0.0
     * @param <T> the object type to read
     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
         * @return the hint about the source of the problem or an empty string if unknown, never {@code null}
         */
        @Nonnull
        String getSource();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    contributors to follow so that we can have a chance of keeping on top of
    things.
    
    Some of the ideas are documented in the [Maven Wiki][maven-wiki]
    which might be interesting to read and for further discussion.
    
    Getting Started
    ---------------
    
    + Make sure you have a [JIRA account](https://issues.apache.org/jira/).
    + Make sure you have a [GitHub account](https://github.com/signup/free).
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

                String modelId = "org.apache.maven:maven-model-builder:" + version + "-"
                        + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                return modelProcessor.read(XmlReaderRequest.builder()
                        .modelId(modelId)
                        .location(url.toExternalForm())
                        .inputStream(is)
                        .strict(false)
                        .build());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top