Package | Description |
---|---|
com.norconex.commons.lang.file |
File-related utility classes.
|
Modifier and Type | Method and Description |
---|---|
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(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(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.
|
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.
|
Copyright © 2008–2023 Norconex Inc.. All rights reserved.