On Wed, Sep 15, 2010 at 10:40 AM, Matt Benson <gudnabr...@gmail.com> wrote:
>
> Agreed--I didn't even realize this info was in Package.  On the idea of 
> manifest reading, though, I still have some code adapted from Ant's manifest 
> code that does provide manifest access, if we want to polish it into a 
> ManifestUtils class...
>

I was thinking the same thing.  Or, we could make it part of the
ClassUtils.  It would just return the Manifest object for a class or,
we could provide a wrapper class, ManifestWrapper, that has shortcut
methods for finding the stuff that most folks are interested in:

public static ManifestWrapper getManifest(Class representative);

This way, we would have to go find the Manifest multiple times if the
user asked for multiple attributes in succession.  They would just get
the ManifestWrapper once and query it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to