java.lang.Object
java.io.Reader
org.tmatesoft.svn.core.internal.io.dav.http.XMLReader
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable

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

    Fields
    Modifier and Type
    Field
    Description
    static final char
     
    private int
     
    private boolean
     
    private boolean
     
    private java.io.Reader
     

    Fields inherited from class java.io.Reader

    lock
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    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 Details

    • COLON_REPLACEMENT

      public static final char COLON_REPLACEMENT
      See Also:
    • mySource

      private java.io.Reader mySource
    • myIsEscaping

      private boolean myIsEscaping
    • myColonCount

      private int myColonCount
    • myIsClosed

      private boolean myIsClosed
  • Constructor Details

    • XMLReader

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

    • 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