Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for Write (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            }
        }
    
        private void write(Path metadataPath, Metadata metadata) throws RepositoryException {
            try {
                Files.createDirectories(metadataPath.getParent());
                try (OutputStream output = Files.newOutputStream(metadataPath)) {
                    new MetadataStaxWriter().write(output, metadata);
                }
            } catch (IOException | XMLStreamException 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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        default void write(@Nonnull T content, @Nonnull Path path) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder().content(content).path(path).build());
        }
    
        default void write(@Nonnull T content, @Nonnull OutputStream outputStream) throws XmlWriterException {
            write(XmlWriterRequest.<T>builder()
                    .content(content)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            requireNonNull(source, "source is null");
            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    Files.write(tempPath, source);
                    put(tempPath, relativeTarget);
                } finally {
                    if (tempPath != null) {
                        Files.deleteIfExists(tempPath);
                    }
                }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            requireNonNull(source, "source is null");
            try {
                Path tempPath = null;
                try {
                    tempPath = Files.createTempFile("transport-get", "tmp");
                    Files.write(tempPath, source);
                    put(tempPath, relativeTarget);
                } finally {
                    if (tempPath != null) {
                        Files.deleteIfExists(tempPath);
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top