Antlr.Runtime.ANTLRFileStream.Load C# (CSharp) Method

Load() public method

public Load ( string fileName, System.Text.Encoding encoding ) : void
fileName string
encoding System.Text.Encoding
return void
        public virtual void Load( string fileName, Encoding encoding )
        {
            if ( fileName == null )
            {
                return;
            }
            throw new System.NotSupportedException();
            /*
            string text;
            if (encoding == null)
                text = File.re.ReadAllText(fileName);
            else
                text = File.ReadAllText(fileName, encoding);

            data = text.ToCharArray();
            n = data.Length;*/
        }