Пример #1
0
 public FTPFileFactory()
 {
     this.log            = Logger.GetLogger("FTPFileFactory");
     this.windows        = new WindowsFileParser();
     this.unix           = new UnixFileParser();
     this.vms            = new VMSFileParser();
     this.os400          = new OS400FileParser();
     this.parser         = null;
     this.parsers        = new ArrayList();
     this.userSetParser  = false;
     this.parserDetected = false;
     this.parserCulture  = CultureInfo.InvariantCulture;
     this.timeDiff       = new TimeSpan();
     this.InitializeParsers();
 }
Пример #2
0
 public FTPFileFactory()
 {
     this.log = Logger.GetLogger("FTPFileFactory");
     this.windows = new WindowsFileParser();
     this.unix = new UnixFileParser();
     this.vms = new VMSFileParser();
     this.os400 = new OS400FileParser();
     this.parser = null;
     this.parsers = new ArrayList();
     this.userSetParser = false;
     this.parserDetected = false;
     this.parserCulture = CultureInfo.InvariantCulture;
     this.timeDiff = new TimeSpan();
     this.InitializeParsers();
 }