Class TempFile

java.lang.Object
java.io.File
com.nomagic.magicreport.TempFile
All Implemented Interfaces:
Serializable, Comparable<File>

@OpenApiAll public class TempFile extends File
Temporary file. When we create a file on temporary directory, it may need to be deleted after executed.
See Also:
  • Constructor Details

    • TempFile

      public TempFile(String pathname)
      Constructor.
      Creates a new File instance by converting the given pathname string into an abstract pathname.
      Parameters:
      pathname - A pathname string
    • TempFile

      public TempFile(File parent, String child)
      Constructor.
      Creates a new File instance from a parent abstract pathname and a child pathname string.
      Parameters:
      parent - The parent abstract pathname
      child - The child pathname string
    • TempFile

      public TempFile(String parent, String child)
      Constructor.
      Creates a new File instance from a parent pathname string and a child pathname string.
      Parameters:
      parent - The parent pathname string
      child - The child pathname string
    • TempFile

      public TempFile(URI uri)
      Constructor.
      Creates a new File instance by converting the given file: URI into an abstract pathname.
      Parameters:
      uri - An absolute, hierarchical URI with a scheme equal to "file", a non-empty path component, and undefined authority, query, and fragment components