generator-root/generator-skeletons/src/main/java/org/sklsft/generator/skeletons/commands/impl/SingleFileWriteCommand.java
@Override
	public void execute() throws IOException {
		Path folderPath = Paths.get(folderName);
		if (!Files.exists(folderPath)){
			Files.createDirectories(folderPath);
		}
		
		writeContent();
		
		try (BufferedWriter fileWriter = Files.newBufferedWriter(filePath, fileType.getEncoding());){
			fileWriter.write(writer.toString());
			fileWriter.flush();
		}
	}
@Override
	public void execute() throws IOException {
		Path folderPath = Paths.get(folderName);
		if (!Files.exists(folderPath)){
			Files.createDirectories(folderPath);
		}
		
		writeContent();
		
		try (BufferedWriter fileWriter = Files.newBufferedWriter(filePath, fileType.getEncoding());){
			fileWriter.write(writer.toString());
			fileWriter.flush();
		}
	}
@ Override public void execute ( ) throws IOException { Path folderPath = Paths . get ( folderName ) ; if ( ! Files . exists ( folderPath ) ) { Files . createDirectories ( folderPath ) ; } writeContent ( ) ; try ( BufferedWriter fileWriter = Files . newBufferedWriter ( filePath , fileType . getEncoding ( ) ) ; ) { fileWriter . write ( writer . toString ( ) ) ; fileWriter . flush ( ) ; } }
/*
(non-Javadoc)
@see com.skeleton.generator.bl.command.file.interfaces.FileWriteCommand#execute()
/ * ( non - Javadoc )