|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VFSAdaptor
The basic adaptor for the VFS that needs to be implemented for a specific jboss-vfs version. This abstraction should be removed once we settle on a single jboss-vfs version.
| Method Summary | |
|---|---|
VirtualFile |
adapt(Object virtualFile)
Adapt a concrete instance of a jboss-vfs VirtualFile. |
Object |
adapt(VirtualFile virtualFile)
Adapt a VirtualFile to a concrete instance of a jboss-vfs VirtualFile. |
VirtualFile |
getRoot(URL url)
Get the root virtual file |
| Method Detail |
|---|
VirtualFile getRoot(URL url)
throws IOException
rootURL - the root url
IOException - if there is a problem accessing the VFS
IllegalArgumentException - if the rootURLVirtualFile adapt(Object virtualFile)
virtualFile - The VirtualFile instance
IllegalArgumentException - If the given virtualFile is not a VirtualFile supported by the VFSAdaptor implementationObject adapt(VirtualFile virtualFile)
virtualFile - The VirtualFile instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||