Class XmlStreamReader

java.lang.Object
java.io.Reader
org.apache.maven.shared.utils.xml.XmlStreamReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

@Deprecated public class XmlStreamReader extends Reader
Deprecated.
use org.apache.commons.io.input.XmlStreamReader instead
  • Constructor Details

  • Method Details

    • setDefaultEncoding

      public static void setDefaultEncoding(String encoding)
      Deprecated.
      Parameters:
      encoding - define the default encoding.
    • getDefaultEncoding

      public static String getDefaultEncoding()
      Deprecated.
      Returns:
      the default encoding.
    • getEncoding

      public String getEncoding()
      Deprecated.
      Returns:
      the current encoding
    • read

      public int read(char[] buf, int offset, int len) throws IOException
      Deprecated.
      Specified by:
      read in class Reader
      Throws:
      IOException
    • close

      public void close() throws IOException
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class Reader
      Throws:
      IOException