src/neon/utils/GeneralUtils.java
/**
   * Writes text to a file.
   *
   * @param text the text
   * @param path the path of the file
   * @return whether the operation was successful
   */
Writes text to a file.
@param text the text
@param path the path of the file
@return whether the operation was successful
Writes text to a file . @param text the text @param path the path of the file @return whether the operation was successful
public static boolean writeText(String text, String path) {
    try {
      Files.writeString(Paths.get(path), text);
      return true;
    } catch (IOException ex) {
      return false;
    }
  }
public static boolean writeText ( String text , String path ) { try { Files . writeString ( Paths . get ( path ) , text ) ; return true ; } catch ( IOException ex ) { return false ; } }
Writes text to a file.
Writes text to a file .