Package org.teiid.metadata
Class JBossVirtualFile
- java.lang.Object
-
- org.teiid.metadata.JBossVirtualFile
-
- All Implemented Interfaces:
VirtualFile
public class JBossVirtualFile extends Object implements VirtualFile
-
-
Constructor Summary
Constructors Constructor Description JBossVirtualFile(org.jboss.vfs.VirtualFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
VirtualFile
getChild(String string)
List<VirtualFile>
getFileChildrenRecursively()
String
getName()
String
getPathName()
long
getSize()
boolean
isFile()
InputStream
openStream()
-
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStream
in interfaceVirtualFile
- Throws:
IOException
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceVirtualFile
-
getName
public String getName()
- Specified by:
getName
in interfaceVirtualFile
-
getFileChildrenRecursively
public List<VirtualFile> getFileChildrenRecursively() throws IOException
- Specified by:
getFileChildrenRecursively
in interfaceVirtualFile
- Throws:
IOException
-
isFile
public boolean isFile()
- Specified by:
isFile
in interfaceVirtualFile
-
getPathName
public String getPathName()
- Specified by:
getPathName
in interfaceVirtualFile
-
getChild
public VirtualFile getChild(String string)
- Specified by:
getChild
in interfaceVirtualFile
-
exists
public boolean exists()
- Specified by:
exists
in interfaceVirtualFile
-
-