All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bretty.console.table.TextColumnFormatter Maven / Gradle / Ivy

Go to download

An extensible Java library to build stylish Excel-like tables, which can be converted into a single string with all table formats preserved.

The newest version!
/*
 * Copyright (c) 2015 SUN XIMENG (Nathaniel). All rights reserved.
 */

package io.bretty.console.table;

class TextColumnFormatter extends ColumnFormatter {

	protected TextColumnFormatter() {
	}

	protected TextColumnFormatter(Alignment al, int width) {
		super(al, width);
	}

	@Override
	public String format(String s) {
		return this.formatString(s, this.width);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy