public abstract class VfsUtils
extends java.lang.Object
org.jboss.virtual
) while
JBoss AS 6+ uses VFS 3.x (package org.jboss.vfs
).
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 java.lang.Class<?> VIRTUAL_FILE_VISITOR_INTERFACE
protected static 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)
Copyright © 2021. All rights reserved.