Class XmlStreamWriter
- java.lang.Object
-
- java.io.Writer
-
- org.apache.commons.io.output.XmlStreamWriter
-
- org.apache.maven.shared.utils.xml.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.XmlStreamWriterWe just wrap the commons StreamWriter to not get into troubles by exposing shaded commons-io packages
-
-
Constructor Summary
Constructors Constructor Description XmlStreamWriter(java.io.File file)XmlStreamWriter(java.io.OutputStream out)
-
-
-
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.
-
-