@@ -0,0 +1,1237 @@
+package com.xdrop.passlock.io;%0A%0Aimport org.apache.commons.io.IOUtils;%0A%0Aimport java.io.*;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.util.Arrays;%0Aimport java.util.Scanner;%0A%0Apublic class TextInputOutput %7B%0A%0A    private Console console = System.console();%0A    private PrintWriter pw;%0A    private Scanner scanner;%0A    private OutputStream out;%0A%0A    public TextInputOutput(InputStream in, OutputStream out) %7B%0A%0A        this.pw = new PrintWriter(new OutputStreamWriter(out,%0A                StandardCharsets.UTF_8));%0A        this.scanner = new Scanner(in);%0A%0A        this.out = out;%0A    %7D%0A%0A    public TextInputOutput() %7B%0A%0A        this.pw = new PrintWriter(System.out);%0A        this.scanner = new Scanner(System.in);%0A        this.out = System.out;%0A%0A    %7D%0A%0A    public void write(String l) %7B%0A%0A        pw.write(l);%0A        pw.flush();%0A%0A    %7D%0A%0A    public void writeln(String l) %7B%0A%0A        pw.write(l + %22%5Cn%22);%0A        pw.flush();%0A%0A    %7D%0A%0A    public void writeSecureLn(byte%5B%5D entry)%7B%0A%0A        try %7B%0A            IOUtils.write(entry, out);%0A        %7D catch (IOException ignored) %7B%7D%0A%0A    %7D%0A%0A    public char%5B%5D getSecure() %7B%0A%0A        return console.readPassword();%0A%0A    %7D%0A%0A    public String getLine() %7B%0A%0A        return scanner.nextLine();%0A%0A    %7D%0A%0A%7D%0A

Add io wrapper