public class UriResolver extends Object
| Constructor and Description |
|---|
UriResolver() |
| Modifier and Type | Method and Description |
|---|---|
static File |
resolveToFile(URI uri,
File dir)
Resolves an external/remote
uri to a local file URI. |
public static File resolveToFile(URI uri, File dir) throws IOException
uri to a local file URI. if uri is already a file, uri is
returned.uri - the URI to resolvedir - the directory to store resolved files, may be null for temporary filesIOException - in case that URI cannot be resolved/opened/transferredCopyright © 2021. All rights reserved.