Class ScreenshotFiles


  • public class ScreenshotFiles
    extends java.lang.Object
    Helper class for creating file names for screenshot files.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScreenshotFiles()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.nio.file.Path getFile()
      Returns a Path for the next screenshot file.
      • Methods inherited from class java.lang.Object

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

      • ScreenshotFiles

        public ScreenshotFiles()
    • Method Detail

      • getFile

        @NotNull
        public @NotNull java.nio.file.Path getFile()
                                            throws java.io.IOException
        Returns a Path for the next screenshot file.
        Returns:
        the file
        Throws:
        java.io.IOException - if the file cannot be determined