public ResourceGenMojo.LicenseCodeWriter(com.sun.codemodel.CodeWriter core,
File license,
String encoding)
Parameters:
core - This CodeWriter will be used to actually create a storage
for files. LicenseCodeWriter simply decorates this underlying
CodeWriter by adding prolog comments.
license - license File
Method Detail
openSource
public Writer openSource(com.sun.codemodel.JPackage pkg,
String fileName)
throws IOException
Overrides:
openSource in class com.sun.codemodel.writer.FilterCodeWriter