LOGGER.log(Level.WARNING, "Not found:{0}", "plugin template");
return;
}
OutputStream outputPlugin = pluginDirectory.createAndOpen(name + ".php"); // NOI18N
try {
List<String> lines = pluginTemplate.asLines(Charset.UTF8);
PrintWriter pw = new PrintWriter(new OutputStreamWriter(outputPlugin, Charset.UTF8));
try {
for (String line : lines) {
if (line.contains(NAME_PLACE)) {
line = line.replace(NAME_PLACE, name);