C# Class Microsoft.Research.DataOnboarding.FileService.FileProcesser.FileProcessor

Base class for all file processors
Mostra file Open project: CDLUC3/dataup2

Public Methods

Method Description
FileProcessor ( IBlobDataRepository blobDataRepository, IFileRepository fileDataRepository, IRepositoryService repositoryService ) : Microsoft.Research.DataOnboarding.DataAccessService
GetFileColumnType ( string cellValue, IEnumerable fileColumnTypes ) : int

Protected Methods

Method Description
DownloadFileWithMetadataAsZip ( DomainModel fileDetails ) : Models.DataDetail
GetFileContentsAsByteArray ( string fileID ) : byte[]
GetMetadata ( DomainModel fileDetails ) : string

Method Details

DownloadFileWithMetadataAsZip() protected method

protected DownloadFileWithMetadataAsZip ( DomainModel fileDetails ) : Models.DataDetail
fileDetails DomainModel
return Models.DataDetail

FileProcessor() public method

public FileProcessor ( IBlobDataRepository blobDataRepository, IFileRepository fileDataRepository, IRepositoryService repositoryService ) : Microsoft.Research.DataOnboarding.DataAccessService
blobDataRepository IBlobDataRepository
fileDataRepository IFileRepository
repositoryService IRepositoryService
return Microsoft.Research.DataOnboarding.DataAccessService

GetFileColumnType() public static method

public static GetFileColumnType ( string cellValue, IEnumerable fileColumnTypes ) : int
cellValue string
fileColumnTypes IEnumerable
return int

GetFileContentsAsByteArray() protected method

protected GetFileContentsAsByteArray ( string fileID ) : byte[]
fileID string
return byte[]

GetMetadata() protected method

protected GetMetadata ( DomainModel fileDetails ) : string
fileDetails DomainModel
return string