Class FallbackResourceManager.LeakComplainerInputStream

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

    static class FallbackResourceManager.LeakComplainerInputStream
    extends java.io.FilterInputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean closed  
      private java.lang.String message  
      • Fields inherited from class java.io.FilterInputStream

        in
    • Method Summary

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

        available, mark, markSupported, read, read, read, reset, skip
      • Methods inherited from class java.io.InputStream

        nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
      • Methods inherited from class java.lang.Object

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

      • message

        private final java.lang.String message
      • closed

        private boolean closed
    • Constructor Detail

      • LeakComplainerInputStream

        public LeakComplainerInputStream​(java.io.InputStream p_i47727_1_,
                                         ResourceLocation p_i47727_2_,
                                         java.lang.String p_i47727_3_)
    • 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.FilterInputStream
        Throws:
        java.io.IOException
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable