james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Virender Dogra" <viren...@ix.netcom.com>
Subject RE: would matcher AttachmentFilenameIsRegex be of use
Date Tue, 15 Jul 2003 16:49:14 GMT
Hello Noel,

Please find the attached regular expression matcher for attachments. I
have named the file "AttachmentFileNameIsRegex.java" with "FileName"
having "N" as caps like in "AttachmentFileNameIs.java" 

Location: src\java\org\apache\james\transport\matchers

Please let me know if my submission procedure is too weird. Thanks.

I had promised test cases but have found it impossible for now to create
a testcase. I have run into issues like "how to set up a context" for
the getCondition() call, creating a session(?), etc. Any pointers where
I can find information on this issue?

Also would it be ok to create a package called "test.org.apache....."
for the testcases.

Thanks and sorry for so many queries ;-)

- Virender

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com] 
Sent: Monday, July 14, 2003 12:05 AM
To: James Developers List
Subject: RE: would matcher AttachmentFilenameIsRegex be of use


> would my patch to extend "AttachmentFilenameIs" or create 
> "AttachmentFilenameIsRegex" be acceptable to the group?

Creating AttachmentFilenameIsRegex would be fine.  I thought that
someone was going to do it, but if you've got it done, please submit.
:-)

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.497 / Virus Database: 296 - Release Date: 7/4/2003
 


Mime
View raw message