\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.common.wrappers.data.indirect.SourceFile Class Reference

Inheritance diagram for fiftyone.common.wrappers.data.indirect.SourceFile:

[legend]

Collaboration diagram for fiftyone.common.wrappers.data.indirect.SourceFile:

[legend]

Public Member Functions

 SourceFile (String fileName) throws IOException, FileNotFoundException
ByteBuffer  createStream () throws IOException
Creates a new ByteBuffer from the file located on the hard drive. More...

Member Function Documentation

◆ createStream()

ByteBuffer fiftyone.common.wrappers.data.indirect.SourceFile.createStream ( ) throws IOException

Creates a new ByteBuffer from the file located on the hard drive.

Returns
ByteBuffer ready to read data from the data file on hard drive.
Exceptions
IOException - if there was a problem accessing data file.

Implements fiftyone.common.wrappers.data.Source.