org.springframework.core.io

## 类 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()`

  - ### 方法概要

    所有方法 静态方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected static String` | `doGetPath(Object resource)`
    `protected static Object` | `doGetVisitorAttributes()`
    `protected static Object` | `getRoot(URL url)`
    `protected static Object` | `invokeVfsMethod(Method method, Object target, Object... args)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### 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,
                                                  @Nullable
                                                  Object target,
                                                  Object... args)
                                           throws IOException

      抛出:
        `IOException`

    - #### getRoot

          protected static Object getRoot(URL url)
                                   throws IOException

      抛出:
        `IOException`

    - #### doGetVisitorAttributes

          @Nullable
          protected static Object doGetVisitorAttributes()

    - #### doGetPath

          @Nullable
          protected static String doGetPath(Object resource)