Package org.teiid.query.metadata
Class VDBResources.Resource
- java.lang.Object
-
- org.teiid.query.metadata.VDBResources.Resource
-
- All Implemented Interfaces:
VDBResource
- Enclosing class:
- VDBResources
public static class VDBResources.Resource extends Object implements VDBResource
-
-
Constructor Summary
Constructors Constructor Description Resource(VirtualFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
long
getSize()
InputStream
openStream()
-
-
-
Constructor Detail
-
Resource
public Resource(VirtualFile file)
-
-
Method Detail
-
openStream
public InputStream openStream() throws IOException
- Specified by:
openStream
in interfaceVDBResource
- Throws:
IOException
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceVDBResource
-
getName
public String getName()
- Specified by:
getName
in interfaceVDBResource
-
-