org.apache.avalon.excalibur.vfs
Interface VFileSystem
- public interface VFileSystem
Interface to read only VFS.
- Author:
- Peter Donald
Method Summary |
VFile |
get(java.lang.String path)
Retrieve VFile by path. |
VFile[] |
list(VFile directory)
List all vfiles in directory. |
VFile[] |
list(VFile directory,
VFileFilter filter)
List all vfiles in directory that are accepted by filter. |
get
public VFile get(java.lang.String path)
throws java.io.IOException
- Retrieve VFile by path.
- Parameters:
path
- the path to VFile- Returns:
- the VFile (may be null)
list
public VFile[] list(VFile directory)
throws java.io.IOException
- List all vfiles in directory.
if path is not a directory null will be returned.
- Parameters:
directory
- the directory- Returns:
- the VFiles
list
public VFile[] list(VFile directory,
VFileFilter filter)
throws java.io.IOException
- List all vfiles in directory that are accepted by filter.
if path is not a directory null will be returned.
- Parameters:
directory
- the directoryfilter
- the filter- Returns:
- the VFiles accepted by filter
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.