public interface LocalFileProvider extends FileProvider
Modifier and Type | Method and Description |
---|---|
FileObject |
findLocalFile(File file)
Converts from java.io.File to FileObject.
|
FileObject |
findLocalFile(String name)
Finds a local file, from its local name.
|
boolean |
isAbsoluteLocalName(String name)
Determines if a name is an absolute file name.
|
createFileSystem, findFile, getCapabilities, getConfigBuilder, parseUri
boolean isAbsoluteLocalName(String name)
TODO - Move this to a general file name parser interface.
name
- The name to test.FileObject findLocalFile(String name) throws FileSystemException
name
- The name of the file to locate.FileSystemException
- if an error occurs.FileObject findLocalFile(File file) throws FileSystemException
file
- The File for the file.FileSystemException
- if an error occurs.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.