if (next instanceof IFolder) {
((IFolder) next).create(false, true, monitor);
}
}
}
<BUG>protected void copyFile(String targetFileName, String targetLocation, String templateLocation, HttpServletRequest request)
</BUG>
throws IOException, Exception {
IPath location = new Path(targetLocation).append(targetFileName);
InputStream in = GenerationModel.getInputStreamByTemplateLocation(templateLocation, request);

if (next instanceof IFolder) {
((IFolder) next).create(false, true, monitor);
}
}
}
private void copyFile(String targetFileName, String targetLocation, String templateLocation, HttpServletRequest request)
throws IOException, Exception {
IPath location = new Path(targetLocation).append(targetFileName);
InputStream in = GenerationModel.getInputStreamByTemplateLocation(templateLocation, request);
