static void Main(string[] args)
        {
            var ParamSeparator = new Reewer.FileUtils.ParamSeparator(args);
            string Input = ParamSeparator.GetParamValueS(ConsoleApplication2.Program.cInput);
            string Output = ParamSeparator.GetParamValueS(ConsoleApplication2.Program.cOutput);

            //  Input = "";
            Output = "a.txt";

            IInputProvider inputProvider = StreamProviderFactory.GetInputProvider(Input);
            ISaveStreamProvider saveProvider = StreamProviderFactory.GetStreamSaveProvider(Output);

            using (Stream stream = inputProvider.GetStream())
            {
                saveProvider.SaveStream(stream);
            }
        }
        static void Main(string[] args)
        {
            string Input = "";
            string Output = "";
            Stream InputStream = new MemoryStream();
            //Stream OutputStream = new MemoryStream();
            StreamOperator StmOper = new StreamOperator();
            var ParamSeparator = new Reewer.FileUtils.ParamSeparator(args);

            Input = ParamSeparator.GetParamValueS(cInput);
            Output = ParamSeparator.GetParamValueS(cOutput);

            MujDelegat mojeInFce = StreamFactory.GetInputStream(Input, StmOper);
            MujDelegat mojeOutFce = StreamFactory.GetOutputStream(Input, StmOper);

            if (mojeInFce != null)
                if (mojeInFce(Input, InputStream))
                    mojeOutFce(Input, InputStream);

            /*

            bool Succ = false;
            if (Input == "")
            {
                Console.WriteLine("\nZdrojovy soubor neexistuje !\n");
                Console.WriteLine("Zadejte vstupni soubor > ");
                Input = Console.ReadLine();
            }
            if (Input != "")
            {
                if (File.Exists(Input))
                {
                    Succ = StmOper.FileToStream(Input, InputStream);
                }
                else if (Input.IndexOf("FTP://", StringComparison.OrdinalIgnoreCase) > 0)
                {
                    // dodelat FromFtp
                }
                else if (Input.IndexOf("HTTP://", StringComparison.OrdinalIgnoreCase) > 0)
                {
                    Succ = StmOper.UrlToStream(Input, InputStream);
                }
            }
            else
            {
                Console.WriteLine("\nNeznámý zdroj !\n");
            }

            if (Succ)
            {
                if (Output.IndexOf("FTP://", StringComparison.OrdinalIgnoreCase) > 0)
                {
                    // dodelat
                }
                else if (Output.IndexOf("HTTP://", StringComparison.OrdinalIgnoreCase) > 0)
                {
                    // dodelat
                }
                else if (Output != "")
                {
                    Succ = StmOper.StreamToFile(InputStream, Output);
                }
                else
                {
                    Console.WriteLine("Zadejte vystupni soubor > ");
                    Output = Console.ReadLine();
                    if (Output != "")
                    {
                        Succ = StmOper.StreamToFile(InputStream, Output);
                    }
                    else
                        Succ = false;
                }
            }*/
        }