Class XmlStreamWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public class XmlStreamWriter
    extends org.apache.commons.io.output.XmlStreamWriter
    We just wrap the commons StreamWriter to not get into troubles by exposing shaded commons-io packages
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.commons.io.output.XmlStreamWriter

        org.apache.commons.io.output.XmlStreamWriter.Builder
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      • Methods inherited from class org.apache.commons.io.output.XmlStreamWriter

        builder, close, flush, getDefaultEncoding, getEncoding, write
      • Methods inherited from class java.io.Writer

        append, append, append, nullWriter, write, write, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlStreamWriter

        public XmlStreamWriter​(java.io.OutputStream out)
        Parameters:
        out - OutputStream
      • XmlStreamWriter

        public XmlStreamWriter​(java.io.File file)
                        throws java.io.FileNotFoundException
        Parameters:
        file - The file to use.
        Throws:
        java.io.FileNotFoundException - in case of not found file.