IFileSet Interface

Alterian Email Manager 6.2.3 SDK Help File
This interface represents an output file set and it's writer. Added to support unit testing of the service code with a virtual fileset.

Namespace:  DMLibrary.SEV
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public interface IFileSet

The IFileSet type exposes the following members.

Properties
NameDescription
Public propertyFileId
Once this file has been committed, the FileId should be populated for future use
Public propertyRowCount
Number of rows which have been written to this writer
Top
Methods
NameDescription
Public methodClose
Close the data file writer
Public methodCommitMaxFieldLengthHeader
Adds the selected fields max width value to the header
Public methodCreateExportLogEntry
Create an export log entry for this, populates fileId
Public methodDeleteFile
Delete any file created. To be implemented in case of roll back
Public methodDeliver
Deliver and optionally compress the files
Public methodFlush
Flush the data file stream
Public methodGetDataFileName
Gets the unique data file name for this export set
Public methodGetHeaderFields
Get the header fields
Public methodGetHeaderFileName
Gets the unique header file name for this export set
Public methodGetZipFileName
Gets the unique zip archive file name containing the data file and the header file.
Public methodTrackMaxFieldLength
Keep track of the max length string in a given field.
Public methodWriteHeaderFile
Output a header file
Public methodWriteLine
Write a line of data to the data file
Top
See Also