Package org.htmlunit

Class DownloadedContent.OnFile

java.lang.Object
org.htmlunit.DownloadedContent.OnFile
All Implemented Interfaces:
Serializable, DownloadedContent
Enclosing interface:
DownloadedContent

public static class DownloadedContent.OnFile extends Object implements DownloadedContent
Implementation keeping content on the file system.
See Also:
  • Field Details

    • file_

      private final File file_
    • temporary_

      private final boolean temporary_
  • Constructor Details

    • OnFile

      OnFile(File file, boolean temporary)
      Parameters:
      file - the file
      temporary - if true, the file will be deleted when cleanUp() is called.
  • Method Details