Interface LocalFileProvider

All Superinterfaces:
FileProvider
All Known Implementing Classes:
DefaultLocalFileProvider

public interface LocalFileProvider extends FileProvider
A file provider which handles local files.
  • Method Details

    • isAbsoluteLocalName

      boolean isAbsoluteLocalName(String name)
      Determines if a name is an absolute file name.

      TODO - Move this to a general file name parser interface.

      Parameters:
      name - The name to test.
      Returns:
      true if the name is absolute.
    • findLocalFile

      FileObject findLocalFile(String name) throws FileSystemException
      Finds a local file, from its local name.
      Parameters:
      name - The name of the file to locate.
      Returns:
      The FileObject for the file.
      Throws:
      FileSystemException - if an error occurs.
    • findLocalFile

      FileObject findLocalFile(File file) throws FileSystemException
      Converts from java.io.File to FileObject.
      Parameters:
      file - The File for the file.
      Returns:
      The FileObject for the file.
      Throws:
      FileSystemException - if an error occurs.