org.jboss.metadata.serviceref
Class VirtualFileAdaptor
java.lang.Object
org.jboss.metadata.serviceref.VirtualFileAdaptor
- All Implemented Interfaces:
- Serializable, org.jboss.wsf.spi.deployment.UnifiedVirtualFile
public class VirtualFileAdaptor
- extends Object
- implements org.jboss.wsf.spi.deployment.UnifiedVirtualFile
A JBoss50 VirtualFile adaptor
- Since:
- 05-May-2006
- Author:
- Thomas.Diesler@jboss.org, Ales.Justin@jboss.org
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualFileAdaptor
public VirtualFileAdaptor(org.jboss.virtual.VirtualFile file)
VirtualFileAdaptor
public VirtualFileAdaptor(URL rootUrl,
String path)
getFile
protected org.jboss.virtual.VirtualFile getFile()
throws IOException
- Get the virtual file.
Create file from root url and path if it doesn't exist yet.
- Returns:
- virtual file root
- Throws:
IOException
- for any error
findChild
public org.jboss.wsf.spi.deployment.UnifiedVirtualFile findChild(String child)
throws IOException
- Specified by:
findChild
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
- Throws:
IOException
toURL
public URL toURL()
- Specified by:
toURL
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
getChildren
public List<org.jboss.wsf.spi.deployment.UnifiedVirtualFile> getChildren()
throws IOException
- Throws:
IOException
getName
public String getName()
Copyright © 2009 JBoss Inc.. All Rights Reserved.