Class to handle Mh directory.
Class Methods
- new( dirname )
-
create new MhLoader Object. 'dirname' must be Mh directory.
Methods
- nextfile
-
returns "next" filename for its directory
- each {|port| ... }
-
- each_mail {|port| ... }
-
iteration for each mail in directory. "port" is a
FilePort object.
A class to handle UNIX Mbox.
This class read all mails into temporaly MH directory and
write back them when object is gavage collected.
Class Methods
- new( fname )
-
creates new MboxLoader object. 'fname' must be UNIX Mbox file name.
Methods
- each {|port| ... }
-
- each_mail {|port| ... }
-
iteration for each mail in directory. "port" is a
StringPort object.
- close
-
forces MboxLoader to write back mails. Once this method is
called, any method calls causes to raise exception.
MaildirLoader
Copyright (c) 1998-2000 Minero Aoki
<aamine@dp.u-netsurf.ne.jp>