예제 #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);
		}
예제 #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);
		}
예제 #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);
        }
예제 #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);
        }
예제 #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"));
		}
예제 #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"));
        }
예제 #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);
		}
예제 #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);
        }