org.apache.servicemix.vfs
Class FileObjectResolver

java.lang.Object
  extended by org.apache.servicemix.vfs.FileObjectResolver

public class FileObjectResolver
extends java.lang.Object

class for resolving a path to a FileObject

Author:
lhein

Constructor Summary
FileObjectResolver()
           
 
Method Summary
static org.apache.commons.vfs.FileObject resolveToFileObject(org.apache.commons.vfs.FileSystemManager manager, java.lang.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
 

Constructor Detail

FileObjectResolver

public FileObjectResolver()
Method Detail

resolveToFileObject

public static org.apache.commons.vfs.FileObject resolveToFileObject(org.apache.commons.vfs.FileSystemManager manager,
                                                                    java.lang.String path)
                                                             throws java.lang.IllegalArgumentException,
                                                                    java.io.IOException
returns the file object to use

Parameters:
manager - the file system manager
path - the path
Returns:
the file object
Throws:
java.lang.IllegalArgumentException - on wrong parameters
java.io.IOException - on resolving errors


Copyright © 2005-2012 FuseSource. All Rights Reserved.