protected static String getLine(int length, char c) {
        StringBuilder b = new StringBuilder();
        for (; length > 0; length--) {
            b.append(c);
        }

        return b.toString();
    }