# Uses of Class
com.norconex.commons.lang.file.WebFile

Packages that use WebFile
Package
Description
com.norconex.commons.lang.file
File-related utility classes.

- ## Uses of WebFile in com.norconex.commons.lang.file

  Methods in com.norconex.commons.lang.file that return WebFile
  Modifier and Type
  Method
  Description
  `static WebFile`
  WebFile.`create(String url, String localName)`
  Creates a web file using the OS temp directory + "webfiles" as the local download location, and the given name as the local file name.
  `static WebFile`
  WebFile.`create(String url, Path localDir)`
  Creates a web file using the given directory as the local download location, and the URL "file" name as the local file name.
  `static WebFile`
  WebFile.`create(String url, Path localDir, String localName)`
  Creates a web file using the given directory as the local download location, and the given name as the local file name.
  `static WebFile`
  WebFile.`create(URL url, String localName)`
  Creates a web file using the OS temp directory + "webfiles" as the local download location, and the given name as the local file name.
  `static WebFile`
  WebFile.`create(URL url, Path localDir)`
  Creates a web file using the given directory as the local download location, and the URL "file" name as the local file name.
  `static WebFile`
  WebFile.`create(URL url, Path localDir, String localName)`
  Creates a web file using the given directory as the local download location, and the given name as the local file name.