| java.lang.Object org.apache.cocoon.mail.MailCtPref
MailCtPref | public class MailCtPref implements ContentTypePreference(Code) | | A simple MimePart preference selecting algorithm
author: Bernhard Huber since: 26. Oktober 2002 version: $Id: MailCtPref.java 468095 2006-10-26 18:50:50Z vgritsenko $ |
Method Summary | |
public int | preference(MimePart part) Yield preference
Parameters: part - Examine the content of this part preference, a higher preference value signals higher preference,eg. |
preference | public int preference(MimePart part)(Code) | | Yield preference
Parameters: part - Examine the content of this part preference, a higher preference value signals higher preference,eg. a part evaluating preference 10, signals preference overa part evaluating preference of 5 |
|
|