01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.util.transformers;
11:
12: /**
13: * An escaper based on the amusing 'figlet' tool, which is available on some system. (Make sure it
14: * is in the 'PATH'.
15: *
16: * Figlet output is only fit for text/plain output, or perhaps for <pre> tags...
17: *
18: * @author Michiel Meeuwissen
19: * @since MMBase-1.7
20: * @version $Id: Figlet.java,v 1.3 2003/06/05 09:32:29 michiel Exp $
21: * @todo no way to specify commandline arguments on the fly.
22: */
23:
24: public class Figlet extends AbstractCommandStringTransformer implements
25: CharTransformer {
26: protected String[] getCommand() {
27: return new String[] { "figlet", "-w", "160" };
28: }
29: }
|