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 booleanexists()VirtualFilegetChild(String string)List<VirtualFile>getFileChildrenRecursively()StringgetName()StringgetPathName()longgetSize()booleanisFile()InputStreamopenStream()
-
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStreamin interfaceVirtualFile- Throws:
IOException
-
getSize
public long getSize()
- Specified by:
getSizein interfaceVirtualFile
-
getName
public String getName()
- Specified by:
getNamein interfaceVirtualFile
-
getFileChildrenRecursively
public List<VirtualFile> getFileChildrenRecursively() throws IOException
- Specified by:
getFileChildrenRecursivelyin interfaceVirtualFile- Throws:
IOException
-
isFile
public boolean isFile()
- Specified by:
isFilein interfaceVirtualFile
-
getPathName
public String getPathName()
- Specified by:
getPathNamein interfaceVirtualFile
-
getChild
public VirtualFile getChild(String string)
- Specified by:
getChildin interfaceVirtualFile
-
exists
public boolean exists()
- Specified by:
existsin interfaceVirtualFile
-
-