Class AutoDestructTempFile

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class AutoDestructTempFile
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Detail

      • AutoDestructTempFile

        public AutoDestructTempFile()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • AutoDestructTempFile

        public AutoDestructTempFile​(java.lang.String prefix,
                                    java.lang.String postfix)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • AutoDestructTempFile

        public AutoDestructTempFile​(java.io.InputStream in,
                                    java.lang.String prefix,
                                    java.lang.String postfix)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • AutoDestructTempFile

        public AutoDestructTempFile​(java.io.InputStream in)
                             throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getPath

        public java.nio.file.Path getPath()
      • close

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