class Formatter {

    @VisibleForTesting
    public String buildString(boolean withRunInformation, Type formatType) {
        if (load.isUpdating()) {
            return cache.get(formatType);
        } else {
            cache.put(Type.ANSI, buildStringInternal(withRunInformation, Type.ANSI));
            cache.put(Type.HTML, buildStringInternal(withRunInformation, Type.HTML));
            return cache.get(formatType);
        }
    }

    public  Formatter(String tableName, Load load);

}