<commit_before><commit_msg>Add file Console.java<commit_after>package droplauncher.mvc.view;

import adakite.util.AdakiteUtils;
import javafx.application.Platform;
import javafx.scene.control.TextArea;

/**
 * Container class for log output.
 */
public class Console {

  private TextArea obj;

  private Console() {}

  public Console(TextArea textArea) {
    this.obj = textArea;
  }

  public TextArea get() {
    return this.obj;
  }

  public void writeln(String line) {
    Platform.runLater(() -> {
      this.obj.appendText(AdakiteUtils.newline() + line);
    });
  }

}
{'fraction_non_alphanumeric': 0.12110726643598616, 'fraction_numerical': 0.0, 'mean_word_length': 3.632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5093240', 'n_tokens_mistral': 194, 'n_tokens_neox': 186, 'n_words': 40}