/* * FtssTsv.File.cs * * Copyright © 2009 * Diversified Technical Systems, Inc. * All Rights Reserved */ namespace DTS.Serialization.FtssTsv { /// /// /// Basic representation of a FTSS TSV file. /// /// public partial class File : Serialization.File, IWritable { /// /// /// Initialize an instance of the FtssTsv.File class. /// /// public File() : base("TSV") { } /// /// Get this file format's extension. /// public static string Extension => ".tsv"; /// /// Get the file writer for this file type. /// public IWriter Exporter { get { try { if (_Exporter == null) { _Exporter = new Writer(this, DefaultEncoding); } return _Exporter; } catch (System.Exception ex) { throw new Exception("encountered problem getting exporter", ex); } } } private IWriter _Exporter = null; } }