This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.x3chaos.lel; | |
/** | |
* Some utilities for formatting Strings in console windows | |
*/ | |
public class StringUtils { | |
/** | |
* Generates a String that contains the given line, centered with spaces | |
* inside the given width; used to create centered headers or the like. If |