Encog.App.Analyst.Script.AnalystScript.DetermineInputFormat C# (CSharp) Method

DetermineInputFormat() public method

Determine the input format for the specified file.
public DetermineInputFormat ( String sourceID ) : CSVFormat
sourceID String The file.
return Encog.Util.CSV.CSVFormat
        public CSVFormat DetermineInputFormat(String sourceID)
        {
            String rawID = Properties.GetPropertyString(
                ScriptProperties.HeaderDatasourceRawFile);

            CSVFormat result = Properties.GetPropertyCSVFormat(sourceID.Equals(rawID) ? ScriptProperties.HeaderDatasourceSourceFormat : ScriptProperties.SetupConfigCSVFormat);

            return result;
        }