Stuart McCulloch | 669423b | 2012-06-26 16:34:24 +0000 | [diff] [blame^] | 1 | package aQute.bnd.build.model.conversions; |
2 | |||||
3 | import aQute.bnd.build.model.clauses.*; | ||||
4 | |||||
5 | public class HeaderClauseFormatter implements Converter<String,HeaderClause> { | ||||
6 | public String convert(HeaderClause input) throws IllegalArgumentException { | ||||
7 | StringBuilder buffer = new StringBuilder(); | ||||
8 | input.formatTo(buffer); | ||||
9 | return buffer.toString(); | ||||
10 | } | ||||
11 | } |