public static class ResourceGenMojo.LicenseCodeWriter
extends com.sun.codemodel.writer.FilterCodeWriter
Constructor and Description |
---|
LicenseCodeWriter(com.sun.codemodel.CodeWriter core,
File license,
String encoding) |
Modifier and Type | Method and Description |
---|---|
Writer |
openSource(com.sun.codemodel.JPackage pkg,
String fileName) |
public LicenseCodeWriter(com.sun.codemodel.CodeWriter core, File license, String encoding)
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 Filepublic Writer openSource(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
openSource
in class com.sun.codemodel.writer.FilterCodeWriter
IOException
Copyright © 2022 Oracle Corporation. All rights reserved.