com.metamatrix.common.vdb.api
Interface VDBFile

All Known Subinterfaces:
FileRecord
All Known Implementing Classes:
FileRecordImpl

public interface VDBFile


Method Summary
 java.io.InputStream getContent()
          Get the contents of the file in the VDB.
 long getFileLength()
          Get the length of the file this record represents
 java.lang.String getPathInVdb()
          Get the path to the file represented by this record in the vdb.
 

Method Detail

getPathInVdb

java.lang.String getPathInVdb()
Get the path to the file represented by this record in the vdb.

Returns:
The path to the file in the vdb
Since:
4.2

getContent

java.io.InputStream getContent()
Get the contents of the file in the VDB.

Returns:
A inputstream as the vdb resource content.
Since:
4.2

getFileLength

long getFileLength()
Get the length of the file this record represents

Returns:
Lenth of the file
Since:
4.2


Copyright © 2009. All Rights Reserved.