private void write(final Path path, final List<CharSequence> sequence) throws IOException {
    log.debug("writing: {}", path.normalize().toAbsolutePath());
    path.toFile().getParentFile().mkdirs();
    Files.write(path, sequence);
  }
private void write(final Path path, final List<CharSequence> sequence) throws IOException {
    log.debug("writing: {}", path.normalize().toAbsolutePath());
    path.toFile().getParentFile().mkdirs();
    Files.write(path, sequence);
  }
private void write ( final Path path , final List < CharSequence > sequence ) throws IOException { log . debug ( "writing: {}" , path . normalize ( ) . toAbsolutePath ( ) ) ; path . toFile ( ) . getParentFile ( ) . mkdirs ( ) ; Files . write ( path , sequence ) ; }
Write content to file.

@param path     Target file.
@param sequence File content.
@throws IOException If something goes wrong.
Write content to file .