public abstract class VfsUtils
extends java.lang.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 java.lang.reflect.Method |
VIRTUAL_FILE_METHOD_VISIT |
protected static java.lang.Class<?> |
VIRTUAL_FILE_VISITOR_INTERFACE |
Constructor and Description |
---|
VfsUtils() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
doGetPath(java.lang.Object resource) |
protected static java.lang.Object |
doGetVisitorAttribute() |
protected static java.lang.Object |
getRoot(java.net.URL url) |
protected static java.lang.Object |
invokeVfsMethod(java.lang.reflect.Method method,
java.lang.Object target,
java.lang.Object... args) |
protected static final java.lang.Class<?> VIRTUAL_FILE_VISITOR_INTERFACE
protected static final java.lang.reflect.Method VIRTUAL_FILE_METHOD_VISIT
protected static java.lang.Object invokeVfsMethod(java.lang.reflect.Method method, java.lang.Object target, java.lang.Object... args) throws java.io.IOException
java.io.IOException
protected static java.lang.Object getRoot(java.net.URL url) throws java.io.IOException
java.io.IOException
protected static java.lang.Object doGetVisitorAttribute()
protected static java.lang.String doGetPath(java.lang.Object resource)