public final class VirtualFileAdaptor extends Object implements org.jboss.wsf.spi.deployment.WritableUnifiedVirtualFile
Modifier | Constructor and Description |
---|---|
|
VirtualFileAdaptor(URL rootUrl,
String path) |
protected |
VirtualFileAdaptor(URL rootUrl,
String path,
boolean requiresMount) |
|
VirtualFileAdaptor(org.jboss.vfs.VirtualFile file) |
Modifier and Type | Method and Description |
---|---|
org.jboss.wsf.spi.deployment.UnifiedVirtualFile |
findChild(String child) |
List<org.jboss.wsf.spi.deployment.UnifiedVirtualFile> |
getChildren() |
protected org.jboss.vfs.VirtualFile |
getFile()
Get the virtual file.
|
String |
getName() |
URL |
toURL() |
void |
writeContent(OutputStream bos) |
void |
writeContent(OutputStream bos,
org.jboss.wsf.spi.deployment.WritableUnifiedVirtualFile.NameFilter filter) |
protected org.jboss.vfs.VirtualFile getFile() throws IOException
IOException
- for any errorpublic org.jboss.wsf.spi.deployment.UnifiedVirtualFile findChild(String child) throws IOException
findChild
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
IOException
public URL toURL()
toURL
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
public void writeContent(OutputStream bos) throws IOException
writeContent
in interface org.jboss.wsf.spi.deployment.WritableUnifiedVirtualFile
IOException
public void writeContent(OutputStream bos, org.jboss.wsf.spi.deployment.WritableUnifiedVirtualFile.NameFilter filter) throws IOException
writeContent
in interface org.jboss.wsf.spi.deployment.WritableUnifiedVirtualFile
IOException
public List<org.jboss.wsf.spi.deployment.UnifiedVirtualFile> getChildren() throws IOException
getChildren
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
IOException
public String getName()
getName
in interface org.jboss.wsf.spi.deployment.UnifiedVirtualFile
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.