Example #1
0
        public TitleFinder(FileReader fr, PatternFinder pf)
        {
            readedFile  = fr;
            findPattern = pf;

            findReportTitle();
        }
Example #2
0
        public FileCleaner(FileReader fr, PatternFinder pf)
        {
            readedFile  = fr;
            findPattern = pf;

            splitFileByTable();
            makeHeader();
            setNewColumnNames();
            removeNonData();
            makeData();
        }
        public FileOperationCenter(OpenFileDialog openFileDialog1)
        {
            findPattern = new PatternFinder(pattern);
            openedFile  = new FileOpener(openFileDialog1);

            stream             = openedFile.getStream();
            readedForTitleFile = new FileReader(stream);
            findTitle          = new TitleFinder(readedForTitleFile, findPattern);
            stream.Close();

            openedFile = new FileOpener(openFileDialog1);
            stream     = openedFile.getStream();
            readedFile = new FileReader(stream);
            chooseCleaner();
            stream.Close();
        }
Example #4
0
 public CleanerStan(FileReader fr, PatternFinder pf)
     : base(fr, pf)
 {
 }
 public CleanerDostawca(FileReader fr, PatternFinder pf)
     : base (fr, pf)
 {
 }