src/neon/utils/GeneralUtils.java
/**
   * Writes lines of text to a file.
   *
   * @param lines the lines of text
   * @param path the path of the file
   * @param charset the charset to be used to encode the data
   * @return whether the operation was successful
   */
Writes lines of text to a file.
@param lines the lines of text
@param path the path of the file
@param charset the charset to be used to encode the data
@return whether the operation was successful
Writes lines of text to a file . @param lines the lines of text @param path the path of the file @param charset the charset to be used to encode the data @return whether the operation was successful
public static boolean writeLines(List<String> lines, String path, Charset charset) {
    try {
      Files.write(Paths.get(path), lines, charset);
      return true;
    } catch (IOException ex) {
      return false;
    }
  }
public static boolean writeLines ( List < String > lines , String path , Charset charset ) { try { Files . write ( Paths . get ( path ) , lines , charset ) ; return true ; } catch ( IOException ex ) { return false ; } }
Writes lines of text to a file.
Writes lines of text to a file .