Class PathHolder

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PathHolder
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.nio.file.Path file  
    • Constructor Summary

      Constructors 
      Constructor Description
      PathHolder​(java.nio.file.Path file)  
    • 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

      • file

        public final java.nio.file.Path file
    • Constructor Detail

      • PathHolder

        public PathHolder​(java.nio.file.Path file)
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception