Class FileDataFormatFactory
The FileDataFormatFactory class is a factory class that creates [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md)
objects based on the file extension. Implements the [Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory](../Xperiflow.Etl/IFileDataFormatFactory.md) interface.
Namespace: Workspace.XBR.Xperiflow.Etl
Assembly: Xperiflow.dll
public class FileDataFormatFactory : IFileDataFormatFactory
Implements: Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory
Methods
CreateDataFormatByExtension(string)
Creates a new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object based on the file extension.
public IDataFormat CreateDataFormatByExtension(string extension)
Returns
Workspace.XBR.Xperiflow.Etl.IDataFormat
A new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object
Parameters
| Type | Name | Description |
|---|---|---|
System.String | extension | The file extension |
CreateDataFormatByFilePath(string)
Creates a new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object based on the file path.
public IDataFormat CreateDataFormatByFilePath(string filePath)
Returns
Workspace.XBR.Xperiflow.Etl.IDataFormat
A new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object
Parameters
| Type | Name | Description |
|---|---|---|
System.String | filePath | The file path |
Implements
Inherited Members
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString