Class FileProvider.Log

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

    public final class FileProvider.Log
    extends java.lang.Object
    implements java.io.Closeable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.nio.channels.FileChannel fileChannel  
      int fileId  
    • Constructor Summary

      Constructors 
      Constructor Description
      Log​(int fileId, java.nio.channels.FileChannel fileChannel)  
    • Method Summary

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

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

      • fileId

        public final int fileId
      • fileChannel

        public final java.nio.channels.FileChannel fileChannel
    • Constructor Detail

      • Log

        public Log​(int fileId,
                   java.nio.channels.FileChannel fileChannel)
    • 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
        Throws:
        java.io.IOException