org.gnu.jfiglet.utils
Class FIGUtils
java.lang.Object
org.gnu.jfiglet.utils.FIGUtils
- public final class FIGUtils
- extends java.lang.Object
An helper class that provides utilities methods.
TODO : add a method to list available fonts ?
TODO : add a method that calculate the length of a FIGure line
in subcharacters, giving a String and a FIGFont ?
- Version:
- $Id: FIGUtils.java,v 1.2 2004/05/01 10:54:16 sbrunot Exp $
- Author:
-
Sebastien Brunot
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFIGFontInfoDescription
public static java.lang.String getFIGFontInfoDescription(FIGFontInfo theInfo)
- Build a String a String providing a multi lines rendering of the
FIGFont
informations hold by a FIGFontInfo
.
TODO : add an example of rendering.
- Parameters:
theInfo
- the FIGFontInfo to build the String from
- Returns:
- a String providing a multi lines rendering of the
FIGFont informations hold by theInfo
renderFIGureToOutputStream
public static void renderFIGureToOutputStream(FIGure theFIGure,
java.io.OutputStream theOutputStream,
java.lang.String theLineSeparator)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2004 Sebastien Brunot. All Rights Reserved.