public abstract class VfsUtils extends Object
As of Spring 4.0, this class supports VFS 3.x on JBoss AS 6+ (package
org.jboss.vfs
) and is in particular compatible with JBoss AS 7 and
WildFly 8.
Thanks go to Marius Bogoevici for the initial patch. Note: This is an internal class and should not be used outside the framework.
Modifier and Type | Field and Description |
---|---|
protected static Method |
VIRTUAL_FILE_METHOD_VISIT |
protected static Class<?> |
VIRTUAL_FILE_VISITOR_INTERFACE |
Constructor and Description |
---|
VfsUtils() |
Modifier and Type | Method and Description |
---|---|
protected static String |
doGetPath(Object resource) |
protected static Object |
doGetVisitorAttribute() |
protected static Object |
getRoot(URL url) |
protected static Object |
invokeVfsMethod(Method method,
Object target,
Object... args) |
protected static Class<?> VIRTUAL_FILE_VISITOR_INTERFACE
protected static Method VIRTUAL_FILE_METHOD_VISIT
protected static Object invokeVfsMethod(Method method, Object target, Object... args) throws IOException
IOException
protected static Object getRoot(URL url) throws IOException
IOException
protected static Object doGetVisitorAttribute()