org.codehaus.plexus.util.xml
Class XmlStreamWriter
java.lang.Object
java.io.Writer
org.codehaus.plexus.util.xml.XmlStreamWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
Deprecated. TO BE REMOVED from here when plexus-utils is upgraded to 1.4.5+ (and prerequisite upgraded to Maven 2.0.6)
public class XmlStreamWriter
- extends Writer
Character stream that handles (or at least attemtps to) all the necessary Voodo to figure out the charset encoding of
the XML document written to the stream.
- Since:
- 1.4.4
- Version:
- $Id: XmlStreamWriter.java 630430 2008-02-23 13:16:25Z olamy $
- Author:
- Herve Boutemy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlStreamWriter
public XmlStreamWriter(OutputStream out)
- Deprecated.
XmlStreamWriter
public XmlStreamWriter(File file)
throws FileNotFoundException
- Deprecated.
- Throws:
FileNotFoundException
getEncoding
public String getEncoding()
- Deprecated.
close
public void close()
throws IOException
- Deprecated.
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Deprecated.
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Deprecated.
- Specified by:
write
in class Writer
- Throws:
IOException
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.