Class DataSourceResourceLoader.SelfCleaningReader

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

    private static class DataSourceResourceLoader.SelfCleaningReader
    extends java.io.FilterReader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.sql.ResultSet resultSet  
      • Fields inherited from class java.io.FilterReader

        in
      • Fields inherited from class java.io.Reader

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      SelfCleaningReader​(java.io.Reader reader, java.sql.ResultSet resultSet)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.io.FilterReader

        mark, markSupported, read, read, ready, reset, skip
      • Methods inherited from class java.io.Reader

        nullReader, read, read, transferTo
      • Methods inherited from class java.lang.Object

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

      • resultSet

        private java.sql.ResultSet resultSet
    • Constructor Detail

      • SelfCleaningReader

        public SelfCleaningReader​(java.io.Reader reader,
                                  java.sql.ResultSet resultSet)
    • Method Detail

      • close

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