Package org.teiid.metadata
Interface VDBResource
-
- All Known Implementing Classes:
VDBResources.Resource
public interface VDBResource
Represents a resource available with the VDB deployment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Get the resource name.long
getSize()
Get the size in bytesInputStream
openStream()
Open anInputStream
to the resource
-
-
-
Method Detail
-
openStream
InputStream openStream() throws IOException
Open anInputStream
to the resource- Returns:
- Throws:
IOException
-
getSize
long getSize()
Get the size in bytes- Returns:
-
getName
String getName()
Get the resource name.- Returns:
-
-