A Enum gives the ShrinkWrap developer control, but the user is stuck with the preset
options.
| public interface Formater {
| String format(Map<Path, Asset> content);
| }
|
| Archie.toString(Formater formater)
|
| archie.toString(Formaters.full())
| archie.toString(new MyFormater())
|
| archie.toString()
| {
| return toStirng(Formaters.simple())
| }
|
If the user could choose between some 'predefined' impls or could specify his own,
that would give him control.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269357#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...