AODL.Document.Import.PlainText.PlainTextImporter.ReadContentFromFile C# (CSharp) Method

ReadContentFromFile() private method

Reads the content from file.
private ReadContentFromFile ( string fileName ) : string
fileName string Name of the file.
return string
		private string ReadContentFromFile(string fileName)
		{
			string text					= "";

			try
			{
				StreamReader sReader	= File.OpenText(fileName);
				text					= sReader.ReadToEnd();
				sReader.Close();
			}
			catch(Exception ex)
			{
				throw ex;
			}

			return this.SetConformLineBreaks(text);
		}