Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Writer (0.21 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

            public XmlWriterRequestBuilder<T> writer(Writer writer) {
                this.writer = writer;
                return this;
            }
    
            public XmlWriterRequestBuilder<T> content(T content) {
                this.content = content;
                return this;
            }
    
            public XmlWriterRequest<T> build() {
                return new DefaultXmlWriterRequest<>(path, outputStream, writer, content);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new SettingsStaxWriter().write(writer, content);
                } else {
                    new SettingsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write settings", e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new SettingsStaxWriter().write(writer, content);
                } else {
                    new SettingsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write settings: " + getMessage(e), getLocation(e), e);
            }
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenToolchainsStaxWriter().write(writer, content);
                } else {
                    new MavenToolchainsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write toolchains", e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenToolchainsStaxWriter().write(writer, content);
                } else {
                    new MavenToolchainsStaxWriter().write(outputStream, content);
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write toolchains: " + getMessage(e), getLocation(e), e);
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            }
            try {
                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
                    new MavenStaxWriter().write(outputStream, content);
                } else {
                    try (OutputStream os = Files.newOutputStream(path)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            try {
                Files.createDirectories(resumeProperties.getParent());
                try (Writer writer = Files.newBufferedWriter(resumeProperties)) {
                    properties.store(writer, null);
                }
            } catch (IOException e) {
                String message = "Could not create " + RESUME_PROPERTIES_FILENAME + " file.";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar

    java.io.IOException; public static void copy(java.io.Reader, java.io.Writer) throws java.io.IOException; public static void copy(java.io.Reader, java.io.Writer, int) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, int) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, String) throws java.io.IOException; public static void copy(java.io.InputStream,...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 160K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    java.io.IOException; public static void copy(java.io.Reader, java.io.Writer) throws java.io.IOException; public static void copy(java.io.Reader, java.io.Writer, int) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, int) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.Writer, String) throws java.io.IOException; public static void copy(java.io.InputStream,...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 200.2K bytes
    - Viewed (0)
Back to top