Class TempDirectory


  • public class TempDirectory
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.file.Path create​(java.lang.String name)  
      java.nio.file.Path createFile​(java.lang.String name, java.lang.String contents)  
      java.nio.file.Path createIfNotExists​(java.lang.String name)  
      void destroy()  
      • Methods inherited from class java.lang.Object

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

      • TempDirectory

        public TempDirectory()
      • TempDirectory

        public TempDirectory​(java.lang.String name)
    • Method Detail

      • createFile

        public java.nio.file.Path createFile​(java.lang.String name,
                                             java.lang.String contents)
      • create

        public java.nio.file.Path create​(java.lang.String name)
      • createIfNotExists

        public java.nio.file.Path createIfNotExists​(java.lang.String name)
      • destroy

        public void destroy()