org.jboss.osgi.vfs
Class AbstractVFS
java.lang.Object
org.jboss.osgi.vfs.AbstractVFS
public abstract class AbstractVFS
- extends Object
The AbstractVFS is the entry point for VFS abstraction used by the OSGi layer.
This abstraction should be removed once we settle on a single jboss-vfs version.
- Since:
- 02-Mar-2010
- Author:
- thomas.diesler@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractVFS
public AbstractVFS()
toVirtualFile
public static VirtualFile toVirtualFile(URI uri)
throws IOException
- Throws:
IOException
toVirtualFile
public static VirtualFile toVirtualFile(URL url)
throws IOException
- Throws:
IOException
toVirtualFile
public static VirtualFile toVirtualFile(String name,
InputStream input)
throws IOException
- Throws:
IOException
toVirtualFile
public static VirtualFile toVirtualFile(InputStream input)
throws IOException
- Throws:
IOException
adapt
public static VirtualFile adapt(Object virtualFile)
adapt
public static Object adapt(VirtualFile virtualFile)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.