com.metamatrix.common.vdb.api
Interface VDBStream

All Known Implementing Classes:
VDBStreamImpl

public interface VDBStream

VDB Stream will let users stream the contents of the VDB in different ways.

Since:
4.3

Method Summary
 java.io.File getFile()
          return as File Source
 java.io.InputStream getInputStream()
          Return the Input Stream into VDB contents
 byte[] toByteArray()
          return the VDB contents as byte array
 

Method Detail

toByteArray

byte[] toByteArray()
return the VDB contents as byte array

Returns:
byte[] - null if resource not available

getInputStream

java.io.InputStream getInputStream()
Return the Input Stream into VDB contents

Returns:
InputStream; null if resource not available

getFile

java.io.File getFile()
return as File Source

Returns:
File; null if resource not available


Copyright © 2009. All Rights Reserved.