类 VfsUtils
- java.lang.Object
- org.springframework.core.io.VfsUtils
public abstract class VfsUtils extends Object
Utility for detecting and accessing JBoss VFS in the classpath.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.
- 从以下版本开始:
- 3.0.3
- 作者:
- Costin Leau, Juergen Hoeller
字段概要
字段 修饰符和类型 字段 说明 protected static Method
VIRTUAL_FILE_METHOD_VISIT
protected static Class<?>
VIRTUAL_FILE_VISITOR_INTERFACE
构造器概要
构造器 构造器 说明 VfsUtils()
字段详细资料
VIRTUAL_FILE_VISITOR_INTERFACE
protected static final Class<?> VIRTUAL_FILE_VISITOR_INTERFACE
VIRTUAL_FILE_METHOD_VISIT
protected static final Method VIRTUAL_FILE_METHOD_VISIT
构造器详细资料
VfsUtils
public VfsUtils()
方法详细资料
invokeVfsMethod
protected static Object invokeVfsMethod(Method method, Object target, Object... args) throws IOException
- 抛出:
IOException
getRoot
protected static Object getRoot(URL url) throws IOException
- 抛出:
IOException
doGetVisitorAttribute
protected static Object doGetVisitorAttribute()