org.codehaus.plexus.util.xml
Class XmlStreamWriter

java.lang.Object
  extended by java.io.Writer
      extended by 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

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
XmlStreamWriter(File file)
          Deprecated.  
XmlStreamWriter(OutputStream out)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 void flush()
          Deprecated.  
 String getEncoding()
          Deprecated.  
 void write(char[] cbuf, int off, int len)
          Deprecated.  
 
Methods inherited from class java.io.Writer
append, append, append, 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(OutputStream out)
Deprecated. 

XmlStreamWriter

public XmlStreamWriter(File file)
                throws FileNotFoundException
Deprecated. 
Throws:
FileNotFoundException
Method Detail

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.