Class XMLReader

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

    public class XMLReader
    extends java.io.Reader
    Version:
    1.3
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLReader​(java.io.InputStream is)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean isClosed()  
      int read​(char[] b, int off, int len)  
      • Methods inherited from class java.io.Reader

        mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

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

      • mySource

        private java.io.Reader mySource
      • myIsEscaping

        private boolean myIsEscaping
      • myColonCount

        private int myColonCount
      • myIsClosed

        private boolean myIsClosed
    • Constructor Detail

      • XMLReader

        public XMLReader​(java.io.InputStream is)
                  throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
    • Method Detail

      • read

        public int read​(char[] b,
                        int off,
                        int len)
                 throws java.io.IOException
        Specified by:
        read in class java.io.Reader
        Throws:
        java.io.IOException
      • isClosed

        public boolean isClosed()
      • close

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