org.apache.servicemix.vfs
Class FileObjectResolver
java.lang.Object
org.apache.servicemix.vfs.FileObjectResolver
public class FileObjectResolver
- extends Object
class for resolving a path to a FileObject
- Author:
- lhein
|
Method Summary |
static org.apache.commons.vfs.FileObject |
resolveToFileObject(org.apache.commons.vfs.FileSystemManager manager,
String path)
returns the file object to use |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileObjectResolver
public FileObjectResolver()
resolveToFileObject
public static org.apache.commons.vfs.FileObject resolveToFileObject(org.apache.commons.vfs.FileSystemManager manager,
String path)
throws IllegalArgumentException,
IOException
- returns the file object to use
- Parameters:
manager - the file system managerpath - the path
- Returns:
- the file object
- Throws:
IllegalArgumentException - on wrong parameters
IOException - on resolving errors
Copyright © 2005-2011 FuseSource. All Rights Reserved.