readDataFile
fun <T : Any> IOPlugin.readDataFile(path: Path, formatResolver: FileFormatResolver<T>): Data<T>
Content copied to clipboard
Read data with supported envelope format and binary format. If envelope format is null, then read binary directly from file. The operation is blocking since it must read meta header. The reading of envelope body is lazy
Parameters
type
explicit type of data read
dataFormat
binary format
envelopeFormat
the format of envelope. If null, file is read directly
metaFile
the relative file for optional meta override
metaFileFormat
the meta format for override