LocalFileSystemProvider

Description

This is the basic implementation of the FileSystemProvider interaface operating over local file system. It supports read and write operations. Stat operations (size, modification time) and directory listings are reported from actual data.

Browse

  • LocalFileSystemProvider JavaDoc
  • LocalFileSystemProvider XRef
  • LocalFileSystemProvider CVS log

Dependencies

required components none
required libraries none

Constructor parameters

position type descritpion
1 String name of the provider, used in FileSystem.getProvider(String) calls, and returned from FileSystemProvider.getName() calls on providers returned from FileSystem.getProviders() method.
2 String pathname of a directory on the local filesystem. May be either absolute (starting with platform's directory separator character or <drive-letter>:\ token), relative to the user's home directory, as defined by user.home (starting with ~<directory-separator> token), or relative to the application's working directory, as defined by user.dir system property.

The pathname must point to a valid readable directory.