Class OneStreamFileSystemConnector
A concrete implementation of the [Workspace.XBR.Xperiflow.Etl.IFileConnector](../Xperiflow.Etl/IFileConnector.md) interface that reads and writes files from the OneStream file system.
Namespace: Workspace.XBR.Xperiflow.Etl
Assembly: Xperiflow.dll
Declaration
public class OneStreamFileSystemConnector : IFileConnector
Implements: Workspace.XBR.Xperiflow.Etl.IFileConnector
Methods
Read()
Reads the OneStream file content as a MemoryStream
Declaration
public Stream Read()
Returns
System.IO.Stream
A MemoryStream representing the file content
Write(Stream)
Writes the specified Stream to the OneStream file system.
Declaration
public void Write(Stream stream)
Remarks
Note: This will throw an error if the file already exists
Parameters
| Type | Name | Description |
|---|---|---|
System.IO.Stream | stream | The Stream to write to the file |
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