james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wiederkehr <markus.wiederk...@gmail.com>
Subject Field/FieldParser: hide implementation details
Date Fri, 30 Jan 2009 15:06:42 GMT
In package o.a.j.mime4j.field we have the FieldParser interface;
DelegatingFieldParser, DefaultFieldParser and a lot of static inner
class of the various Field classes implement this interface..

Class Field has a getter to retrieve the DefaultFieldParser but there
is no way to change that default value. So what's the point of this
getter?

IMO interface FieldParser and all of its implementations should not be
part of the public API..

Any objections to making them package-private?

Markus

Mime
View raw message