Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.vfs.provider
Interface LocalFileProvider

All Superinterfaces:
  FileProvider

All Known Implementing Classes:
  DefaultLocalFileProvider

public interface LocalFileProvider
extends FileProvider

A file provider which handles local files.

Version:
  $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
  Adam Murdoch

Method Summary
`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.

Methods inherited from interface org.apache.commons.vfs.provider.FileProvider
`createFileSystem, findFile, getCapabilities, getConfigBuilder, parseUri`

Method Detail

### isAbsoluteLocalName

    public boolean isAbsoluteLocalName(String name)

  Determines if a name is an absolute file name.

  Parameters:
    `name` - The name to test.

### findLocalFile

    public FileObject findLocalFile(String name)
                             throws FileSystemException

  Finds a local file, from its local name.

  Throws:
    `FileSystemException`

### findLocalFile

    public FileObject findLocalFile(File file)
                             throws FileSystemException

  Converts from java.io.File to FileObject.

  Throws:
    `FileSystemException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.