Beispiel #1
0
		public override void LoadDatabase ()
		{
			try {
				db = new TB.Database (account, DbFile);
				db.Load ();
			} catch (Exception e) {
				Logger.Log.Warn (e, "Failed to load {0}:", DbFile);
				return;
			}
			
			if (db.Count <= 0) {
				Logger.Log.Debug ("Empty file {0}; skipping", DbFile);
				return;
			}
			
			Logger.Log.Info ("Indexing address book containing {0} contact(s) ({1})", db.Count, RelativePath);
		}
Beispiel #2
0
		public override void LoadDatabase ()
		{
			try {
				db = new TB.Database (account, DbFile);
				db.Load ();
			} catch (Exception e) {
				Logger.Log.Warn (e, "Failed to load {0}:", DbFile);
				return;
			}
			
			if (db.Count <= 0) {
				Logger.Log.Debug ("Empty file {0}; skipping", DbFile);
				return;
			}
			
			FullIndex = (Thunderbird.IsFullyIndexable (DbFile) ? true : false);
			Logger.Log.Info ("Indexing {0} NNTP messages", db.Count);
		}
Beispiel #3
0
        public override void LoadDatabase()
        {
            try {
                db = new TB.Database(account, DbFile);
                db.Load();
            } catch (Exception e) {
                Logger.Log.Warn(e, "Failed to load {0}:", DbFile);
                return;
            }

            if (db.Count <= 0)
            {
                Logger.Log.Debug("Empty file {0}; skipping", DbFile);
                return;
            }

            Logger.Log.Info("Indexing address book containing {0} contact(s) ({1})", db.Count, RelativePath);
        }
Beispiel #4
0
        public override void LoadDatabase()
        {
            try {
                db = new TB.Database(account, DbFile);
                db.Load();
            } catch (Exception e) {
                Logger.Log.Warn(e, "Failed to load {0}", DbFile);
                return;
            }

            if (db.Count <= 0)
            {
                Logger.Log.Debug("Empty file {0}; skipping", DbFile);
                return;
            }

            FullIndex = (Thunderbird.IsFullyIndexable(DbFile) ? true : false);
            Logger.Log.Info("Indexing {0} Movemails ({1})", db.Count, RelativePath);
        }
Beispiel #5
0
		public override void LoadDatabase ()
		{
			try {
				db = new TB.Database (account, DbFile);
				db.Load ();
				
				Hashtable tbl = db.Db.Compile ("1", "ns:msg:db:row:scope:dbfolderinfo:all");
				mailbox_name = (string) tbl ["mailboxName"];
			} catch (Exception e) {
				Logger.Log.Warn (e, "Failed to load {0}:", DbFile);
				return;
			}
			
			if (db.Count <= 0) {
				Logger.Log.Debug ("Empty file {0}; skipping", DbFile);
				return;
			}
			
			FullIndex = (Thunderbird.IsFullyIndexable (DbFile) ? true : false);
			Logger.Log.Info ("Indexing {0} containing {1} mails ({2})", RelativePath, db.Count, (FullIndex ? "Full" : "Partial"));
		}
Beispiel #6
0
        public override void LoadDatabase()
        {
            try {
                db = new TB.Database(account, DbFile);
                db.Load();

                Hashtable tbl = db.Db.Compile("1", "ns:msg:db:row:scope:dbfolderinfo:all");
                mailbox_name = (string)tbl ["mailboxName"];
            } catch (Exception e) {
                Logger.Log.Warn(e, "Failed to load {0}:", DbFile);
                return;
            }

            if (db.Count <= 0)
            {
                Logger.Log.Debug("Empty file {0}; skipping", DbFile);
                return;
            }

            FullIndex = (Thunderbird.IsFullyIndexable(DbFile) ? true : false);
            Logger.Log.Info("Indexing {0} containing {1} mails ({2})", RelativePath, db.Count, (FullIndex ? "Full" : "Partial"));
        }
Beispiel #7
0
		public override void LoadDatabase ()
		{
			string folder_name = null;
			
			try {
				db = new TB.Database (account, DbFile);
				db.Load ();
				
				Hashtable tbl = db.Db.Compile ("1", "ns:msg:db:row:scope:dbfolderinfo:all");
				feed_url = tbl ["feedUrl"] as string;
				folder_name = tbl ["folderName"] as string;
			} catch (Exception e) {
				Logger.Log.Warn (e, "Failed to load {0}:", DbFile);
				return;
			}
			
			if (db.Count <= 0) {
				Logger.Log.Debug ("Empty file {0}; skipping", DbFile);
				return;
			}
			
			Logger.Log.Info ("Indexing \"{0}\" RSS feed containing {1} entries ({2})", folder_name, db.Count, RelativePath);
		}
Beispiel #8
0
        public override void LoadDatabase()
        {
            string folder_name = null;

            try {
                db = new TB.Database(account, DbFile);
                db.Load();

                Hashtable tbl = db.Db.Compile("1", "ns:msg:db:row:scope:dbfolderinfo:all");
                feed_url    = tbl ["feedUrl"] as string;
                folder_name = tbl ["folderName"] as string;
            } catch (Exception e) {
                Logger.Log.Warn(e, "Failed to load {0}:", DbFile);
                return;
            }

            if (db.Count <= 0)
            {
                Logger.Log.Debug("Empty file {0}; skipping", DbFile);
                return;
            }

            Logger.Log.Info("Indexing \"{0}\" RSS feed containing {1} entries ({2})", folder_name, db.Count, RelativePath);
        }